Changeset 4f4b4e7 in mainline for uspace/lib/posix/stdio.h


Ignore:
Timestamp:
2011-06-15T23:38:45Z (15 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b08ef1fd
Parents:
ab547063
Message:

Coding style and file structure unified.
_exit moved to unistd.h.

File:
1 edited

Legend:

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

    rab547063 r4f4b4e7  
    11/*
    22 * Copyright (c) 2011 Jiri Zarevucky
     3 * Copyright (c) 2011 Petr Koupy
    34 * All rights reserved.
    45 *
     
    2728 */
    2829
     30/** @addtogroup libposix
     31 * @{
     32 */
     33/** @file
     34 */
     35
    2936#ifndef POSIX_STDIO_H_
    3037#define POSIX_STDIO_H_
     
    3239#include "libc/stdio.h"
    3340
     41/* Character Input/Output */
    3442#define putc fputc
    3543#define getc fgetc
    3644
     45/* Opening Streams */
     46extern FILE *posix_freopen(
     47   const char *restrict filename,
     48   const char *restrict mode,
     49   FILE *restrict stream);
    3750
    38 extern FILE *posix_freopen(const char *restrict filename,
    39                            const char *restrict mode,
    40                            FILE *restrict stream);
    41 
     51/* Error Messages */
    4252extern void posix_perror(const char *s);
    4353
    4454#ifndef POSIX_INTERNAL
    4555        #define freopen posix_freopen
     56
    4657        #define perror posix_perror
    4758#endif
     
    4960#endif /* POSIX_STDIO_H_ */
    5061
     62/** @}
     63 */
Note: See TracChangeset for help on using the changeset viewer.