Changeset ab00d5a in mainline
- Timestamp:
- 2008-08-22T10:32:56Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 80791a7
- Parents:
- 49b2dc3
- Location:
- uspace/lib/libc
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/Makefile
r49b2dc3 rab00d5a 58 58 generic/task.c \ 59 59 generic/futex.c \ 60 generic/io/asprintf.c \ 60 61 generic/io/io.c \ 61 62 generic/io/printf.c \ -
uspace/lib/libc/generic/io/sprintf.c
r49b2dc3 rab00d5a 49 49 va_start(args, fmt); 50 50 ret = vsprintf(str, fmt, args); 51 52 51 va_end(args); 53 52 -
uspace/lib/libc/include/stdio.h
r49b2dc3 rab00d5a 55 55 extern int getchar(void); 56 56 57 extern int puts(const char * str);58 extern int putchar(int c);57 extern int puts(const char *); 58 extern int putchar(int); 59 59 60 extern int printf(const char *fmt, ...); 61 extern int sprintf(char *str, const char *fmt, ...); 62 extern int snprintf(char *str, size_t size, const char *fmt, ...); 60 extern int printf(const char *, ...); 61 extern int asprintf(char **, const char *, ...); 62 extern int sprintf(char *, 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 vsprintf(char * str, const char *fmt, va_list ap);66 extern int vsnprintf(char * str, size_t size, const char *fmt, va_list ap);65 extern int vprintf(const char *, va_list); 66 extern int vsprintf(char *, const char *, va_list); 67 extern int vsnprintf(char *, size_t, const char *, va_list); 67 68 68 69 #define fprintf(f, fmt, ...) printf(fmt, ##__VA_ARGS__)
Note:
See TracChangeset
for help on using the changeset viewer.