Changeset d681c17 in mainline for uspace/libc/include/stdio.h
- Timestamp:
- 2006-09-05T14:52:11Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5035eeb7
- Parents:
- 2def788
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/libc/include/stdio.h
r2def788 rd681c17 41 41 #define EOF (-1) 42 42 43 #include <string.h> 43 44 #include <io/stream.h> 45 46 #define DEBUG(fmt, ...) \ 47 { \ 48 char buf[256]; \ 49 int n; \ 50 n = snprintf(buf, sizeof(buf), fmt, ##__VA_ARGS__); \ 51 if (n > 0) \ 52 (void) __SYSCALL3(SYS_IO, 1, (sysarg_t) buf, strlen(buf)); \ 53 } 44 54 45 55 extern int getchar(void);
Note:
See TracChangeset
for help on using the changeset viewer.