libposix: add getpgid
This commit is contained in:
parent
1f3203e6d3
commit
e206015f7f
|
@ -143,7 +143,6 @@ extern unsigned int POSIX_sleep(unsigned int seconds);
|
||||||
extern int POSIX_pipe(int *errnop, int fildes[2]);
|
extern int POSIX_pipe(int *errnop, int fildes[2]);
|
||||||
extern int POSIX_umask(int *errnop, int mask);
|
extern int POSIX_umask(int *errnop, int mask);
|
||||||
|
|
||||||
extern int POSIX_getpgrp(int *errnop);
|
|
||||||
extern int POSIX_getuid(int *errnop);
|
extern int POSIX_getuid(int *errnop);
|
||||||
extern int POSIX_geteuid(int *errnop);
|
extern int POSIX_geteuid(int *errnop);
|
||||||
extern int POSIX_setuid(int *errnop, int uid);
|
extern int POSIX_setuid(int *errnop, int uid);
|
||||||
|
@ -154,6 +153,8 @@ extern int POSIX_getegid(int *errnop);
|
||||||
extern int POSIX_setgid(int *errnop, int gid);
|
extern int POSIX_setgid(int *errnop, int gid);
|
||||||
extern int POSIX_setegid(int *errnop, int egid);
|
extern int POSIX_setegid(int *errnop, int egid);
|
||||||
extern int POSIX_setregid(int *errnop, int rgid, int egid);
|
extern int POSIX_setregid(int *errnop, int rgid, int egid);
|
||||||
|
extern int POSIX_getpgrp(int *errnop);
|
||||||
|
extern int POSIX_getpgid(int *errnop, int pid);
|
||||||
extern int POSIX_setpgid(int *errnop, int pid, int pgid);
|
extern int POSIX_setpgid(int *errnop, int pid, int pgid);
|
||||||
extern int POSIX_getsid(int *errnop, int pid);
|
extern int POSIX_getsid(int *errnop, int pid);
|
||||||
extern int POSIX_setsid(int *errnop);
|
extern int POSIX_setsid(int *errnop);
|
||||||
|
|
|
@ -143,6 +143,12 @@ POSIX_getpgrp(int *errnop)
|
||||||
return get_noteid(errnop, pid);
|
return get_noteid(errnop, pid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
POSIX_getpgid(int *errnop, int pid)
|
||||||
|
{
|
||||||
|
return get_noteid(errnop, pid);
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
POSIX_setpgid(int *errnop, int pid, int pgid)
|
POSIX_setpgid(int *errnop, int pid, int pgid)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue