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