Changeset b08ef1fd in mainline for uspace/lib/posix/unistd.h


Ignore:
Timestamp:
2011-06-16T02:57:47Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
491e1ee
Parents:
4f4b4e7
Message:

POSIX types moved from stat.h to types.h.
Added function stubs into stdio.h and unistd.h.

File:
1 edited

Legend:

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

    r4f4b4e7 rb08ef1fd  
    6161#define STDERR_FILENO (fileno(stderr))
    6262
     63/* File Accessibility */
     64#undef F_OK
     65#undef X_OK
     66#undef W_OK
     67#undef R_OK
     68#define F_OK 0 /* Test for existence. */
     69#define X_OK 1 /* Test for execute permission. */
     70#define W_OK 2 /* Test for write permission. */
     71#define R_OK 4 /* Test for read permission. */
     72extern int posix_access(const char *path, int amode);
     73
    6374#ifndef POSIX_INTERNAL
    6475        #define isatty posix_isatty
     76
     77        #define access posix_access
    6578#endif
    6679
Note: See TracChangeset for help on using the changeset viewer.