Changeset 823a929 in mainline for uspace/lib/posix/stdio.h


Ignore:
Timestamp:
2011-06-23T23:57:33Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e64b55a
Parents:
da084d9
Message:

Added function stubs (binutils compile-time dependencies).

File:
1 edited

Legend:

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

    rda084d9 r823a929  
    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.