Changes in uspace/lib/posix/unistd.h [823a929:72ec8cc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/unistd.h
r823a929 r72ec8cc 58 58 59 59 /* Process Identification */ 60 extern posix_pid_t posix_getpid(void); 60 #define getpid task_get_id 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]);125 114 126 115 #ifndef LIBPOSIX_INTERNAL … … 132 121 #define getpagesize posix_getpagesize 133 122 134 #define getpid posix_getpid135 123 #define getuid posix_getuid 136 124 #define getgid posix_getgid … … 139 127 140 128 #define sysconf posix_sysconf 141 142 #define pathconf posix_pathconf143 144 #define fork posix_fork145 146 #define execv posix_execv147 #define execvp posix_execvp148 149 #define pipe posix_pipe150 129 #endif 151 130
Note:
See TracChangeset
for help on using the changeset viewer.