Changeset 777832e in mainline for uspace/lib/c/include/stdio.h
- Timestamp:
- 2018-06-21T12:27:09Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 296890f3
- Parents:
- 7d7bc09
- git-author:
- Jiri Svoboda <jiri@…> (2018-06-20 19:26:46)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-06-21 12:27:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/stdio.h
r7d7bc09 r777832e 1 1 /* 2 2 * Copyright (c) 2005 Martin Decky 3 * Copyright (c) 2018 Jiri Svoboda 3 4 * All rights reserved. 4 5 * … … 36 37 #define LIBC_STDIO_H_ 37 38 39 #include <offset.h> 38 40 #include <stdarg.h> 39 41 #include <io/verify.h> … … 59 61 #define BUFSIZ 4096 60 62 63 /** Max number of files that is guaranteed to be able to open at the same time */ 64 #define FOPEN_MAX VFS_MAX_OPEN_FILES 65 61 66 /** Recommended size of fixed-size array for holding file names. */ 62 67 #define FILENAME_MAX 4096 … … 65 70 struct _IO_FILE; 66 71 typedef struct _IO_FILE FILE; 72 73 /** File position */ 74 typedef struct { 75 off64_t pos; 76 } fpos_t; 67 77 68 78 extern FILE *stdin; … … 124 134 extern size_t fwrite(const void *, size_t, size_t, FILE *); 125 135 136 extern int fgetpos(FILE *, fpos_t *); 137 extern int fsetpos(FILE *, const fpos_t *); 138 126 139 extern int fseek(FILE *, long, int); 127 140 extern void rewind(FILE *); … … 132 145 extern int ferror(FILE *); 133 146 extern void clearerr(FILE *); 147 148 extern void perror(const char *); 134 149 135 150 extern void setvbuf(FILE *, void *, int, size_t);
Note:
See TracChangeset
for help on using the changeset viewer.