Changeset bd76871 in mainline for uspace/lib/c/include/stdio.h
- Timestamp:
- 2018-01-13T15:12:11Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1d6dd2a
- Parents:
- 09d13c8e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/stdio.h
r09d13c8e rbd76871 57 57 /** Default size for stream I/O buffers */ 58 58 #define BUFSIZ 4096 59 60 #define DEBUG(fmt, ...) \61 { \62 char _buf[256]; \63 int _n = snprintf(_buf, sizeof(_buf), fmt, ##__VA_ARGS__); \64 if (_n > 0) \65 (void) __SYSCALL3(SYS_KIO, KIO_WRITE, (sysarg_t) _buf, str_size(_buf)); \66 }67 59 68 60 enum _buffer_type {
Note:
See TracChangeset
for help on using the changeset viewer.