Changeset 55092672 in mainline for uspace/lib/c/include/stdio.h
- Timestamp:
- 2018-06-15T13:06:18Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8338a81
- Parents:
- 1ae9c07
- git-author:
- Jiri Svoboda <jiri@…> (2018-06-14 22:05:23)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-06-15 13:06:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/stdio.h
r1ae9c07 r55092672 59 59 #define BUFSIZ 4096 60 60 61 /** Recommended size of fixed-size array for holding file names. */ 62 #define FILENAME_MAX 4096 63 61 64 /** Forward declaration */ 62 65 struct _IO_FILE; … … 68 71 69 72 /* Character and string input functions */ 73 #define getc fgetc 70 74 extern int fgetc(FILE *); 71 75 extern char *fgets(char *, int, FILE *); … … 74 78 75 79 /* Character and string output functions */ 80 #define putc fputc 76 81 extern int fputc(int, FILE *); 77 82 extern int fputs(const char *, FILE *); … … 96 101 extern int snprintf(char *, size_t, const char *, ...) 97 102 _HELENOS_PRINTF_ATTRIBUTE(3, 4); 103 #if defined(_HELENOS_SOURCE) || defined(_GNU_SOURCE) 98 104 extern int vasprintf(char **, const char *, va_list); 99 105 extern int asprintf(char **, const char *, ...) 106 #endif 100 107 _HELENOS_PRINTF_ATTRIBUTE(2, 3); 101 108 extern int vsnprintf(char *, size_t, const char *, va_list); … … 137 144 #define _IOLBF 1 138 145 #define _IOFBF 2 146 147 extern char *gets(char *, size_t); 148 139 149 #endif 140 150 … … 168 178 extern FILE *fdopen(int, const char *); 169 179 extern int fileno(FILE *); 170 extern char *gets(char *, size_t);171 180 172 181 #include <offset.h>
Note:
See TracChangeset
for help on using the changeset viewer.