(_file_strerror): New function.
(file_stream_create): Register strerror function. (stdio_stream_create): Enable caching only if the file is not seekable and MU_STREAM_SEEKABLE bit is set in flags. Register different sets of (read,readline,write) handlers depending on the setting of MU_STREAM_SEEKABLE bit.
Showing
1 changed file
with
40 additions
and
21 deletions
-
Please register or sign in to post a comment