c - Point file pointer to buffer in memory rather than a file on disk -
i trying have file*
in c can write string buffer in memory rather file on disk.
i know functionality exists in fmemopen function, not running program on linux not solution me. have seen implementations mac well, programming cortex m4 arm processor, can't use well.
any solutions out there potentially work when programming cortex m4?
edit: clarify, need end file
structure because need pass file*
library function using (libjpeg's jpeg_stdio_dest()
, jpeg_stdio_src()
functions) takes in file*
argument.
Comments
Post a Comment