Changeset 296890f3 in mainline for uspace/lib/c
- Timestamp:
- 2018-06-21T13:01:34Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a8b0c5d
- Parents:
- 777832e
- git-author:
- Jiri Svoboda <jiri@…> (2018-06-21 20:00:45)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-06-21 13:01:34)
- Location:
- uspace/lib/c
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/snprintf.c
r777832e r296890f3 35 35 #include <stdarg.h> 36 36 #include <stdio.h> 37 #include <io/printf_core.h>38 37 39 38 /** Print formatted to the given buffer with limited size. -
uspace/lib/c/include/stdio.h
r777832e r296890f3 84 84 extern int fgetc(FILE *); 85 85 extern char *fgets(char *, int, FILE *); 86 extern char *gets(char *, size_t) __attribute__((deprecated)); 86 87 87 88 extern int getchar(void); … … 114 115 extern int vasprintf(char **, const char *, va_list); 115 116 extern int asprintf(char **, const char *, ...) 116 #endif117 117 _HELENOS_PRINTF_ATTRIBUTE(2, 3); 118 #endif 118 119 extern int vsnprintf(char *, size_t, const char *, va_list); 120 121 extern int sprintf(char *, const char *, ...) 122 __attribute__((deprecated)) _HELENOS_PRINTF_ATTRIBUTE(2, 3); 123 extern int vsprintf(char *, const char *, va_list) __attribute__((deprecated)); 119 124 120 125 /* Formatted input */ … … 159 164 #define _IOLBF 1 160 165 #define _IOFBF 2 161 162 extern char *gets(char *, size_t);163 166 164 167 #endif
Note:
See TracChangeset
for help on using the changeset viewer.