libposix: getppid
This commit is contained in:
parent
d2a0389ae4
commit
c2204d83a5
@ -40,6 +40,7 @@ extern int POSIX_execve(int *errnop, const char *name, char * const*argv, char *
|
|||||||
extern int POSIX_fork(int *errnop);
|
extern int POSIX_fork(int *errnop);
|
||||||
extern int POSIX_fstat(int *errnop, int file, void *stat);
|
extern int POSIX_fstat(int *errnop, int file, void *stat);
|
||||||
extern int POSIX_getpid(int *errnop);
|
extern int POSIX_getpid(int *errnop);
|
||||||
|
extern int POSIX_getppid(int *errnop);
|
||||||
extern int POSIX_isatty(int *errnop, int file);
|
extern int POSIX_isatty(int *errnop, int file);
|
||||||
extern int POSIX_kill(int *errnop, int pid, int sig);
|
extern int POSIX_kill(int *errnop, int pid, int sig);
|
||||||
extern int POSIX_link(int *errnop, const char *old, const char *new);
|
extern int POSIX_link(int *errnop, const char *old, const char *new);
|
||||||
|
@ -158,6 +158,12 @@ POSIX_getpid(int *errnop)
|
|||||||
return getpid();
|
return getpid();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
POSIX_getppid(int *errnop)
|
||||||
|
{
|
||||||
|
return getppid();
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
POSIX_fork(int *errnop)
|
POSIX_fork(int *errnop)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user