Changes in uspace/lib/c/include/stdio.h [a9763c6:aa492fe] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/stdio.h
ra9763c6 raa492fe 40 40 #include <str.h> 41 41 #include <io/verify.h> 42 #include <abi/kio.h>43 42 44 43 #define EOF (-1) … … 52 51 int _n = snprintf(_buf, sizeof(_buf), fmt, ##__VA_ARGS__); \ 53 52 if (_n > 0) \ 54 (void) __SYSCALL3(SYS_K IO, KIO_WRITE, (sysarg_t) _buf, str_size(_buf)); \53 (void) __SYSCALL3(SYS_KLOG, 1, (sysarg_t) _buf, str_size(_buf)); \ 55 54 } 56 55 … … 120 119 extern int snprintf(char *, size_t , const char *, ...) 121 120 PRINTF_ATTRIBUTE(3, 4); 122 extern int vasprintf(char **, const char *, va_list);123 121 extern int asprintf(char **, const char *, ...) 124 122 PRINTF_ATTRIBUTE(2, 3); 125 123 extern int vsnprintf(char *, size_t, const char *, va_list); 126 127 extern int printf_size(const char *, ...)128 PRINTF_ATTRIBUTE(1, 2);129 extern int vprintf_size(const char *, va_list);130 124 131 125 /* File stream functions */ … … 148 142 149 143 extern void setvbuf(FILE *, void *, int, size_t); 150 extern void setbuf(FILE *, void *);151 144 152 145 /* Misc file functions */ 153 146 extern int rename(const char *, const char *); 154 extern int remove(const char *);155 147 156 148 #endif
Note:
See TracChangeset
for help on using the changeset viewer.