4 ms·
Hmm, so a function similar to fread, but reading from another buffer instead of a file.
by panzi 13y ago
Hmm, so a function similar to fread, but reading from another buffer instead of a file.
- clarry 13y agoYou can actually use fread on a buffer after opening it with fmemopen(). (POSIX). I'd rather just do the overflow checking before arithmetic.