Changeset ab00d5a in mainline for uspace/lib/libc/include/stdio.h


Ignore:
Timestamp:
2008-08-22T10:32:56Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
80791a7
Parents:
49b2dc3
Message:

Add asprintf().

File:
1 edited

Legend:

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

    r49b2dc3 rab00d5a  
    5555extern int getchar(void);
    5656
    57 extern int puts(const char * str);
    58 extern int putchar(int c);
     57extern int puts(const char *);
     58extern int putchar(int);
    5959
    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, ...);
     60extern int printf(const char *, ...);
     61extern int asprintf(char **, const char *, ...);
     62extern int sprintf(char *, const char *fmt, ...);
     63extern int snprintf(char *, size_t , const char *, ...);
    6364
    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);
     65extern int vprintf(const char *, va_list);
     66extern int vsprintf(char *, const char *, va_list);
     67extern int vsnprintf(char *, size_t, const char *, va_list);
    6768
    6869#define fprintf(f, fmt, ...) printf(fmt, ##__VA_ARGS__)
Note: See TracChangeset for help on using the changeset viewer.