Hello, In that phrase:"If buf is not NULL, then it should point to a buffer of at least len bytes allocated by the caller."
Should'nt it be "of at least size bytes" instead of "of at least len bytes" ? (where size is the second argument of fmemopen)
If not, what does "len" mean ? Best regards Lucien Gentis