Changes in uspace/lib/c/include/io/klog.h [1569a9b:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/klog.h
r1569a9b rb7fd2a0 44 44 #include <abi/log.h> 45 45 46 extern int klog_write(log_level_t, const void *, size_t);47 extern int klog_read(void *, size_t, size_t *);46 extern errno_t klog_write(log_level_t, const void *, size_t); 47 extern errno_t klog_read(void *, size_t, size_t *); 48 48 49 49 #define KLOG_PRINTF(lvl, fmt, ...) ({ \ 50 50 char *_s; \ 51 int _rc = ENOMEM; \51 errno_t _rc = ENOMEM; \ 52 52 if (asprintf(&_s, fmt, ##__VA_ARGS__) >= 0) { \ 53 53 _rc = klog_write((lvl), _s, str_size(_s)); \
Note:
See TracChangeset
for help on using the changeset viewer.