Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
panzi
12y ago
0 comments
Save
Share
Hmm, so a function similar to fread, but reading from another buffer instead of a file.
0 comments
1 comments · 1 top-level
top
newest
oldest
clarry
12y ago
You can actually use fread on a buffer after opening it with fmemopen(). (POSIX).
I'd rather just do the overflow checking before arithmetic.
j
/
k
navigate · click thread line to collapse