Changeset 4c53333 in mainline for uspace/lib/c/include/stdio.h


Ignore:
Timestamp:
2013-07-11T08:21:10Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
64e63ce1
Parents:
80445cf (diff), c8bb1633 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/stdio.h

    r80445cf r4c53333  
    3939#include <stdarg.h>
    4040#include <str.h>
    41 #include <adt/list.h>
    42 
    43 #ifndef NVERIFY_PRINTF
    44 
    45 #define PRINTF_ATTRIBUTE(start, end) \
    46         __attribute__((format(gnu_printf, start, end)))
    47 
    48 #else /* NVERIFY_PRINTF */
    49 
    50 #define PRINTF_ATTRIBUTE(start, end)
    51 
    52 #endif /* NVERIFY_PRINTF */
     41#include <io/verify.h>
     42#include <abi/klog.h>
    5343
    5444#define EOF  (-1)
     
    6252                int _n = snprintf(_buf, sizeof(_buf), fmt, ##__VA_ARGS__); \
    6353                if (_n > 0) \
    64                         (void) __SYSCALL3(SYS_KLOG, 1, (sysarg_t) _buf, str_size(_buf)); \
     54                        (void) __SYSCALL3(SYS_KLOG, KLOG_WRITE, (sysarg_t) _buf, str_size(_buf)); \
    6555        }
    6656
     
    153143
    154144extern void setvbuf(FILE *, void *, int, size_t);
     145extern void setbuf(FILE *, void *);
    155146
    156147/* Misc file functions */
Note: See TracChangeset for help on using the changeset viewer.