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