summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-08-19 06:19:45 +0000
committerpeter <peter@FreeBSD.org>1997-08-19 06:19:45 +0000
commitc7048791d0beb6fec50a5d0b22391efb1937bcb8 (patch)
tree48031f671db2054a20208b70415ab2fdc4449761 /include
parent738949e1d7f8dd3bbce5dae849e1a03abe404c67 (diff)
downloadFreeBSD-src-c7048791d0beb6fec50a5d0b22391efb1937bcb8.zip
FreeBSD-src-c7048791d0beb6fec50a5d0b22391efb1937bcb8.tar.gz
Prototypes for getsid() and getpgid(). Also, prefix type names in
setpgrp() prototype with _ as per style(9).
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index ae11e40..a9bb8a0 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -132,6 +132,8 @@ int gethostname __P((char *, int));
mode_t getmode __P((const void *, mode_t));
int getpagesize __P((void)) __pure2;
char *getpass __P((const char *));
+int getpgid __P((pid_t _pid));
+int getsid __P((pid_t _pid));
char *getusershell __P((void));
char *getwd __P((char *)); /* obsoleted by getcwd() */
int initgroups __P((const char *, int));
@@ -167,7 +169,7 @@ int sethostname __P((const char *, int));
int setkey __P((const char *));
int setlogin __P((const char *));
void *setmode __P((const char *));
-int setpgrp __P((pid_t pid, pid_t pgrp)); /* obsoleted by setpgid() */
+int setpgrp __P((pid_t _pid, pid_t _pgrp)); /* obsoleted by setpgid() */
int setregid __P((gid_t, gid_t));
int setreuid __P((uid_t, uid_t));
int setrgid __P((gid_t));
OpenPOWER on IntegriCloud