Changeset 021c508 in mainline for uspace/lib/posix/stdio.h


Ignore:
Timestamp:
2011-06-24T02:17:09Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d185132
Parents:
4d4988e (diff), 67c64b9f (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 libposix changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/stdio.h

    r4d4988e r021c508  
    3939#include "libc/stdio.h"
    4040#include "sys/types.h"
     41#include "libc/stdarg.h"
    4142
    4243/* Character Input/Output */
     
    6061/* Formatted Input/Output */
    6162extern int posix_sprintf(char *restrict s, const char *restrict format, ...);
     63extern int posix_vsprintf(char *restrict s, const char *restrict format, va_list ap);
    6264extern int posix_sscanf(const char *restrict s, const char *restrict format, ...);
     65
     66/* Deleting Files */
     67extern int posix_remove(const char *path);
     68
     69/* Temporary Files */
     70extern char *posix_tmpnam(char *s);
    6371
    6472#ifndef LIBPOSIX_INTERNAL
     
    7381
    7482        #define sprintf posix_sprintf
     83        #define vsprintf posix_vsprintf
    7584        #define sscanf posix_sscanf
     85
     86        #define remove posix_remove
     87
     88        #define tmpnam posix_tmpnam
    7689#endif
    7790
Note: See TracChangeset for help on using the changeset viewer.