Changeset 59f799b in mainline for uspace/lib/posix/stdio.h


Ignore:
Timestamp:
2011-06-16T19:42:22Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
39a7bfa
Parents:
491e1ee
Message:

Added function stubs into stdio.h and unistd.h.

File:
1 edited

Legend:

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

    r491e1ee r59f799b  
    4343#define putc fputc
    4444#define getc fgetc
     45extern int posix_ungetc(int c, FILE *stream);
    4546
    4647/* Opening Streams */
     
    5758extern posix_off_t posix_ftello(FILE *stream);
    5859
     60/* Formatted Input/Output */
     61extern int posix_sprintf(char *restrict s, const char *restrict format, ...);
     62extern int posix_sscanf(const char *restrict s, const char *restrict format, ...);
     63
    5964#ifndef LIBPOSIX_INTERNAL
     65        #define ungetc posix_ungetc
     66
    6067        #define freopen posix_freopen
    6168
     
    6471        #define fseeko posix_fseeko
    6572        #define ftello posix_ftello
     73
     74        #define sprintf posix_sprintf
     75        #define sscanf posix_sscanf
    6676#endif
    6777
Note: See TracChangeset for help on using the changeset viewer.