Better HN
topnewbestaskshowjobs
Log inSign up

Fikoko

1 karma · joined Feb 10, 2026 (9mo ago) · 3 submissions

Submissions

comment 9mo ago · link · parent

Good catch! You’re right, ftell + fseek isn’t guaranteed to work for all files in ISO C, especially very large or non-seekable ones. In practice, for typical binary files it works fine, but I’ll add a note in the docs. I will consider a fallback using fread + realloc for full portability.

2.

Show HN: Canon-C – a semantic C library(github.com ↗)

3 points · by Fikoko · 9mo ago · 2 comments