Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/unistd.h

    r823a929 r72ec8cc  
    5858
    5959/* Process Identification */
    60 extern posix_pid_t posix_getpid(void);
     60#define getpid task_get_id
    6161extern posix_uid_t posix_getuid(void);
    6262extern posix_gid_t posix_getgid(void);
     
    112112        _PC_VDISABLE
    113113};
    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]);
    125114
    126115#ifndef LIBPOSIX_INTERNAL
     
    132121        #define getpagesize posix_getpagesize
    133122
    134         #define getpid posix_getpid
    135123        #define getuid posix_getuid
    136124        #define getgid posix_getgid
     
    139127
    140128        #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
    150129#endif
    151130
Note: See TracChangeset for help on using the changeset viewer.