xiaoxiang781216 commented on code in PR #10602: URL: https://github.com/apache/nuttx/pull/10602#discussion_r1335166795
########## libs/libc/libc.h: ########## @@ -245,6 +245,13 @@ bool lib_isbasedigit(int ch, int base, FAR int *value); int lib_checkbase(int base, FAR const char **pptr); +/* Defined in lib_stdio_cb */ + +ssize_t lib_fread_cb(void *stream, char *buf, size_t size); +ssize_t lib_fwrite_cb(void *stream, const char *buf, size_t size); +off_t lib_fseek_cb(void *stream, off_t offset, int whence); Review Comment: Yes, but fseek could do the conversion, so we don't need seek_internal_cb_t. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org