Changeset 72ec8cc in mainline
- Timestamp:
- 2011-06-22T01:21:18Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1fae414
- Parents:
- 7d0b76d
- Location:
- uspace/lib/posix
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/unistd.c
r7d0b76d r72ec8cc 54 54 55 55 /** 56 * 57 * @return 58 */ 59 int posix_getpagesize(void) 60 { 61 return getpagesize(); 62 } 63 64 /** 56 65 * 57 66 * @return -
uspace/lib/posix/unistd.h
r7d0b76d r72ec8cc 54 54 extern int posix_isatty(int fd); 55 55 56 /* Query Memory Parameters */ 57 extern int posix_getpagesize(void); 58 56 59 /* Process Identification */ 57 60 #define getpid task_get_id … … 87 90 extern long posix_sysconf(int name); 88 91 92 /* Path Configuration Parameters */ 93 enum { 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 89 115 #ifndef LIBPOSIX_INTERNAL 90 116 #define environ posix_environ 91 117 92 118 #define isatty posix_isatty 119 120 #undef getpagesize 121 #define getpagesize posix_getpagesize 93 122 94 123 #define getuid posix_getuid
Note:
See TracChangeset
for help on using the changeset viewer.