Changeset bd76871 in mainline
- 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
- Location:
- uspace/lib
- Files:
-
- 2 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 { -
uspace/lib/posix/include/posix/stdio.h
r09d13c8e rbd76871 39 39 #ifndef __POSIX_DEF__ 40 40 #define __POSIX_DEF__(x) x 41 /* DEBUG macro does not belong to POSIX stdio.h. Its unconditional42 * definition in the native stdio.h causes unexpected behaviour of43 * applications which uses their own DEBUG macro (e.g. debugging44 * output is printed even if not desirable). */45 #undef DEBUG46 41 #endif 47 42
Note:
See TracChangeset
for help on using the changeset viewer.