Changeset 6fa9a99d in mainline for uspace/lib/c/include
- Timestamp:
- 2014-01-05T17:50:01Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 91db0280
- Parents:
- 208b5f5
- Location:
- uspace/lib/c/include
- Files:
-
- 1 edited
- 1 moved
-
io/kio.h (moved) (moved from uspace/lib/c/include/io/klog.h ) (2 diffs)
-
stdio.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/kio.h
r208b5f5 r6fa9a99d 33 33 */ 34 34 35 #ifndef LIBC_IO_K LOG_H_36 #define LIBC_IO_K LOG_H_35 #ifndef LIBC_IO_KIO_H_ 36 #define LIBC_IO_KIO_H_ 37 37 38 38 #include <sys/types.h> … … 40 40 #include <io/verify.h> 41 41 42 extern size_t k log_write(const void *, size_t);43 extern void k log_update(void);44 extern void k log_command(const void *, size_t);45 extern int k log_printf(const char *, ...)42 extern size_t kio_write(const void *, size_t); 43 extern void kio_update(void); 44 extern void kio_command(const void *, size_t); 45 extern int kio_printf(const char *, ...) 46 46 PRINTF_ATTRIBUTE(1, 2); 47 extern int k log_vprintf(const char *, va_list);47 extern int kio_vprintf(const char *, va_list); 48 48 49 49 #endif -
uspace/lib/c/include/stdio.h
r208b5f5 r6fa9a99d 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
Note:
See TracChangeset
for help on using the changeset viewer.
