Changeset 221afc9e in mainline for uspace/lib/posix/stdio.h


Ignore:
Timestamp:
2011-07-12T02:43:56Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2346e78
Parents:
46ac986
Message:

Redefinitions of some libc functions (mainly return value corrections).

File:
1 edited

Legend:

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

    r46ac986 r221afc9e  
    5353#undef putc
    5454#define putc fputc
     55extern int posix_fputs(const char *restrict s, FILE *restrict stream);
    5556#undef getc
    5657#define getc fgetc
     
    7980extern long posix_ftell(FILE *stream);
    8081extern posix_off_t posix_ftello(FILE *stream);
     82
     83/* Flushing Buffers */
     84extern int posix_fflush(FILE *stream);
    8185
    8286/* Formatted Output */
     
    122126        #define clearerr posix_clearerr
    123127
     128        #define fputs posix_fputs
    124129        #define ungetc posix_ungetc
    125130        #define getdelim posix_getdelim
     
    139144        #define ftell posix_ftell
    140145        #define ftello posix_ftello
     146
     147        #define fflush posix_fflush
    141148
    142149        #define dprintf posix_dprintf
Note: See TracChangeset for help on using the changeset viewer.