mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
stdio.h: Implement fseeko and ftello function
specified here: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fseek.html https://pubs.opengroup.org/onlinepubs/9699919799/functions/ftell.html Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
YAMAMOTO Takashi
parent
095e492cb3
commit
676a2b77f8
@@ -158,8 +158,10 @@ FAR FILE *freopen(FAR const char *path, FAR const char *mode,
|
||||
FAR FILE *stream);
|
||||
int fscanf(FAR FILE *stream, FAR const IPTR char *fmt, ...);
|
||||
int fseek(FAR FILE *stream, long int offset, int whence);
|
||||
int fseeko(FAR FILE *stream, off_t offset, int whence);
|
||||
int fsetpos(FAR FILE *stream, FAR fpos_t *pos);
|
||||
long ftell(FAR FILE *stream);
|
||||
off_t ftello(FAR FILE *stream);
|
||||
size_t fwrite(FAR const void *ptr, size_t size, size_t n_items,
|
||||
FAR FILE *stream);
|
||||
ssize_t getdelim(FAR char **lineptr, size_t *n, int delimiter,
|
||||
|
||||
Reference in New Issue
Block a user