Rev 3112 | Rev 3756 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3112 | Rev 3348 | ||
---|---|---|---|
Line 52... | Line 52... | ||
52 | (void) __SYSCALL3(SYS_KLOG, 1, (sysarg_t) buf, strlen(buf)); \ |
52 | (void) __SYSCALL3(SYS_KLOG, 1, (sysarg_t) buf, strlen(buf)); \ |
53 | } |
53 | } |
54 | 54 | ||
55 | extern int getchar(void); |
55 | extern int getchar(void); |
56 | 56 | ||
57 | extern int puts(const char * str); |
57 | extern int puts(const char *); |
58 | extern int putchar(int c); |
58 | extern int putchar(int); |
59 | 59 | ||
60 | extern int printf(const char *fmt, ...); |
60 | extern int printf(const char *, ...); |
- | 61 | extern int asprintf(char **, const char *, ...); |
|
61 | extern int sprintf(char *str, const char *fmt, ...); |
62 | extern int sprintf(char *, const char *fmt, ...); |
62 | extern int snprintf(char *str, size_t size, const char *fmt, ...); |
63 | extern int snprintf(char *, size_t , const char *, ...); |
63 | 64 | ||
64 | extern int vprintf(const char *fmt, va_list ap); |
65 | extern int vprintf(const char *, va_list); |
65 | extern int vsprintf(char *str, const char *fmt, va_list ap); |
66 | extern int vsprintf(char *, const char *, va_list); |
66 | extern int vsnprintf(char *str, size_t size, const char *fmt, va_list ap); |
67 | extern int vsnprintf(char *, size_t, const char *, va_list); |
67 | 68 | ||
68 | #define fprintf(f, fmt, ...) printf(fmt, ##__VA_ARGS__) |
69 | #define fprintf(f, fmt, ...) printf(fmt, ##__VA_ARGS__) |
69 | 70 | ||
70 | extern int rename(const char *, const char *); |
71 | extern int rename(const char *, const char *); |
71 | 72 |