Changeset 59f799b in mainline for uspace/lib/posix/unistd.h
- Timestamp:
- 2011-06-16T19:42:22Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 39a7bfa
- Parents:
- 491e1ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/unistd.h
r491e1ee r59f799b 38 38 39 39 #include "libc/unistd.h" 40 #include "sys/types.h" 40 41 41 42 /* Process Termination */ … … 52 53 /* Process Identification */ 53 54 #define getpid task_get_id 55 extern posix_uid_t posix_getuid(void); 56 extern posix_gid_t posix_getgid(void); 54 57 55 58 /* Standard Streams */ … … 72 75 extern int posix_access(const char *path, int amode); 73 76 77 /* System Parameters */ 78 enum { 79 _SC_PHYS_PAGES, 80 _SC_AVPHYS_PAGES, 81 _SC_PAGESIZE, 82 _SC_CLK_TCK 83 }; 84 extern long posix_sysconf(int name); 85 74 86 #ifndef LIBPOSIX_INTERNAL 75 87 #define isatty posix_isatty 76 88 89 #define getuid posix_getuid 90 #define getgid posix_getgid 91 77 92 #define access posix_access 93 94 #define sysconf posix_sysconf 78 95 #endif 79 96
Note:
See TracChangeset
for help on using the changeset viewer.