Changeset 021c508 in mainline for uspace/lib/posix/unistd.h
- Timestamp:
- 2011-06-24T02:17:09Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d185132
- Parents:
- 4d4988e (diff), 67c64b9f (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/unistd.h
r4d4988e r021c508 58 58 59 59 /* Process Identification */ 60 #define getpid task_get_id 60 extern posix_pid_t posix_getpid(void); 61 61 extern posix_uid_t posix_getuid(void); 62 62 extern posix_gid_t posix_getgid(void); … … 112 112 _PC_VDISABLE 113 113 }; 114 extern long posix_pathconf(const char *path, int name); 115 116 /* Creating a Process */ 117 extern posix_pid_t posix_fork(void); 118 119 /* Executing a File */ 120 extern int posix_execv(const char *path, char *const argv[]); 121 extern int posix_execvp(const char *file, char *const argv[]); 122 123 /* Creating a Pipe */ 124 extern int posix_pipe(int fildes[2]); 114 125 115 126 #ifndef LIBPOSIX_INTERNAL … … 121 132 #define getpagesize posix_getpagesize 122 133 134 #define getpid posix_getpid 123 135 #define getuid posix_getuid 124 136 #define getgid posix_getgid … … 127 139 128 140 #define sysconf posix_sysconf 141 142 #define pathconf posix_pathconf 143 144 #define fork posix_fork 145 146 #define execv posix_execv 147 #define execvp posix_execvp 148 149 #define pipe posix_pipe 129 150 #endif 130 151
Note:
See TracChangeset
for help on using the changeset viewer.