libposix: getppid

This commit is contained in:
Giacomo Tesio 2017-04-22 00:40:39 +02:00
parent d2a0389ae4
commit c2204d83a5
2 changed files with 7 additions and 0 deletions

View File

@ -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_fstat(int *errnop, int file, void *stat);
extern int POSIX_getpid(int *errnop);
extern int POSIX_getppid(int *errnop);
extern int POSIX_isatty(int *errnop, int file);
extern int POSIX_kill(int *errnop, int pid, int sig);
extern int POSIX_link(int *errnop, const char *old, const char *new);

View File

@ -158,6 +158,12 @@ POSIX_getpid(int *errnop)
return getpid();
}
int
POSIX_getppid(int *errnop)
{
return getppid();
}
int
POSIX_fork(int *errnop)
{