Changeset 8b863a62 in mainline for uspace/lib/c/include/stdio.h
- Timestamp:
- 2014-04-16T17:14:06Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f857e8b
- Parents:
- dba3e2c (diff), 70b570c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
uspace/lib/c/include/stdio.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/stdio.h
rdba3e2c r8b863a62 40 40 #include <str.h> 41 41 #include <io/verify.h> 42 #include <abi/k log.h>42 #include <abi/kio.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 LOG, KLOG_WRITE, (sysarg_t) _buf, str_size(_buf)); \54 (void) __SYSCALL3(SYS_KIO, KIO_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 126 130 /* File stream functions */ 127 131 extern FILE *fopen(const char *, const char *); … … 143 147 144 148 extern void setvbuf(FILE *, void *, int, size_t); 149 extern void setbuf(FILE *, void *); 145 150 146 151 /* Misc file functions */ 147 152 extern int rename(const char *, const char *); 153 extern int remove(const char *); 148 154 149 155 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
