Changeset 1cc4a09 in mainline for uspace/lib/posix/stdio.h


Ignore:
Timestamp:
2011-08-14T00:19:31Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b705ecc
Parents:
6d100fd (diff), e0e922d (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 changes.

File:
1 edited

Legend:

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

    r6d100fd r1cc4a09  
    123123#define L_tmpnam PATH_MAX
    124124extern char *posix_tmpnam(char *s);
     125extern char *posix_tempnam(const char *dir, const char *pfx);
     126extern FILE *posix_tmpfile(void);
    125127
    126128#ifndef LIBPOSIX_INTERNAL
     129        /* DEBUG macro does not belong to POSIX stdio.h. Its unconditional
     130         * definition in the native stdio.h causes unexpected behaviour of
     131         * applications which uses their own DEBUG macro (e.g. debugging
     132         * output is printed even if not desirable). */
     133        #undef DEBUG
     134
    127135        #define ctermid posix_ctermid
    128136
     
    176184
    177185        #define tmpnam posix_tmpnam
     186        #define tempnam posix_tempnam
     187        #define tmpfile posix_tmpfile
    178188#endif
    179189
Note: See TracChangeset for help on using the changeset viewer.