Changeset 09b0b1fb in mainline for uspace/lib/posix/stdio.h


Ignore:
Timestamp:
2011-06-09T16:06:07Z (14 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9536e6e
Parents:
ceebf0a
Message:

Add getc→fgetc alias, atoi(), freopen(), perror() stubs.

File:
1 edited

Legend:

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

    rceebf0a r09b0b1fb  
    3333
    3434#define putc fputc
     35#define getc fgetc
     36
     37
     38extern FILE *posix_freopen(const char *restrict filename,
     39                           const char *restrict mode,
     40                           FILE *restrict stream);
     41
     42extern void posix_perror(const char *s);
     43
     44#ifndef POSIX_INTERNAL
     45        #define freopen posix_freopen
     46        #define perror posix_perror
     47#endif
    3548
    3649#endif /* POSIX_STDIO_H_ */
Note: See TracChangeset for help on using the changeset viewer.