Changeset 4f4b4e7 in mainline for uspace/lib/posix/stdio.h
- Timestamp:
- 2011-06-15T23:38:45Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b08ef1fd
- Parents:
- ab547063
- File:
-
- 1 edited
-
uspace/lib/posix/stdio.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/stdio.h
rab547063 r4f4b4e7 1 1 /* 2 2 * Copyright (c) 2011 Jiri Zarevucky 3 * Copyright (c) 2011 Petr Koupy 3 4 * All rights reserved. 4 5 * … … 27 28 */ 28 29 30 /** @addtogroup libposix 31 * @{ 32 */ 33 /** @file 34 */ 35 29 36 #ifndef POSIX_STDIO_H_ 30 37 #define POSIX_STDIO_H_ … … 32 39 #include "libc/stdio.h" 33 40 41 /* Character Input/Output */ 34 42 #define putc fputc 35 43 #define getc fgetc 36 44 45 /* Opening Streams */ 46 extern FILE *posix_freopen( 47 const char *restrict filename, 48 const char *restrict mode, 49 FILE *restrict stream); 37 50 38 extern FILE *posix_freopen(const char *restrict filename, 39 const char *restrict mode, 40 FILE *restrict stream); 41 51 /* Error Messages */ 42 52 extern void posix_perror(const char *s); 43 53 44 54 #ifndef POSIX_INTERNAL 45 55 #define freopen posix_freopen 56 46 57 #define perror posix_perror 47 58 #endif … … 49 60 #endif /* POSIX_STDIO_H_ */ 50 61 62 /** @} 63 */
Note:
See TracChangeset
for help on using the changeset viewer.
