Changeset 3e01316f in mainline for uspace/lib/posix/stdio.h


Ignore:
Timestamp:
2011-08-17T18:04:50Z (13 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:
0cf27ee
Parents:
e898296d (diff), e6165be (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge libposix.

File:
1 edited

Legend:

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

    re898296d r3e01316f  
    6565extern FILE *posix_freopen(const char *restrict filename,
    6666    const char *restrict mode, FILE *restrict stream);
    67 extern FILE *posix_fmemopen(void *restrict buf, size_t size,
    68     const char *restrict mode);
    69 extern FILE *posix_open_memstream(char **bufp, size_t *sizep);
    7067
    7168/* Error Messages */
     
    123120#define L_tmpnam PATH_MAX
    124121extern char *posix_tmpnam(char *s);
     122extern char *posix_tempnam(const char *dir, const char *pfx);
     123extern FILE *posix_tmpfile(void);
    125124
    126125#ifndef LIBPOSIX_INTERNAL
     126        /* DEBUG macro does not belong to POSIX stdio.h. Its unconditional
     127         * definition in the native stdio.h causes unexpected behaviour of
     128         * applications which uses their own DEBUG macro (e.g. debugging
     129         * output is printed even if not desirable). */
     130        #undef DEBUG
     131
    127132        #define ctermid posix_ctermid
    128133
     
    176181
    177182        #define tmpnam posix_tmpnam
     183        #define tempnam posix_tempnam
     184        #define tmpfile posix_tmpfile
    178185#endif
    179186
Note: See TracChangeset for help on using the changeset viewer.