Ignore:
File:
1 edited

Legend:

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

    r75406dc r4c8f5e7  
    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.