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


Ignore:
Timestamp:
2011-06-22T01:59:39Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
41e2118
Parents:
79506d6 (diff), f1fae414 (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/unistd.h

    r79506d6 rcac458f  
    5454extern int posix_isatty(int fd);
    5555
     56/* Query Memory Parameters */
     57extern int posix_getpagesize(void);
     58
    5659/* Process Identification */
    5760#define getpid task_get_id
     
    8790extern long posix_sysconf(int name);
    8891
     92/* Path Configuration Parameters */
     93enum {
     94        _PC_2_SYMLINKS,
     95        _PC_ALLOC_SIZE_MIN,
     96        _PC_ASYNC_IO,
     97        _PC_CHOWN_RESTRICTED,
     98        _PC_FILESIZEBITS,
     99        _PC_LINK_MAX,
     100        _PC_MAX_CANON,
     101        _PC_MAX_INPUT,
     102        _PC_NAME_MAX,
     103        _PC_NO_TRUNC,
     104        _PC_PATH_MAX,
     105        _PC_PIPE_BUF,
     106        _PC_PRIO_IO,
     107        _PC_REC_INCR_XFER_SIZE,
     108        _PC_REC_MIN_XFER_SIZE,
     109        _PC_REC_XFER_ALIGN,
     110        _PC_SYMLINK_MAX,
     111        _PC_SYNC_IO,
     112        _PC_VDISABLE
     113};
     114
    89115#ifndef LIBPOSIX_INTERNAL
    90116        #define environ posix_environ
    91117
    92118        #define isatty posix_isatty
     119
     120        #undef getpagesize
     121        #define getpagesize posix_getpagesize
    93122
    94123        #define getuid posix_getuid
Note: See TracChangeset for help on using the changeset viewer.