Fixed new and old standards conformance bugs. The non-POSIX confstr() was

in the POSIX section for a log time.  The non-POSIX getgrouplist() and
setgroups() were recently added to the POSIX section although setgroups()
was already in the non-POSIX section.
This commit is contained in:
Bruce Evans 1996-07-17 10:52:38 +00:00
parent 21f432840f
commit a21dc21cee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17192

View File

@ -56,7 +56,6 @@ unsigned int alarm __P((unsigned int));
int chdir __P((const char *));
int chown __P((const char *, uid_t, gid_t));
int close __P((int));
size_t confstr __P((int, char *, size_t));
int dup __P((int));
int dup2 __P((int, int));
int execl __P((const char *, const char *, ...));
@ -71,7 +70,6 @@ char *getcwd __P((char *, size_t));
gid_t getegid __P((void));
uid_t geteuid __P((void));
gid_t getgid __P((void));
int getgrouplist __P((const char *, int, int *, int *));
int getgroups __P((int, gid_t []));
char *getlogin __P((void));
pid_t getpgrp __P((void));
@ -87,7 +85,6 @@ int pipe __P((int *));
ssize_t read __P((int, void *, size_t));
int rmdir __P((const char *));
int setgid __P((gid_t));
int setgroups __P((int, const gid_t *));
int setpgid __P((pid_t, pid_t));
pid_t setsid __P((void));
int setuid __P((uid_t));
@ -107,6 +104,7 @@ int acct __P((const char *));
int async_daemon __P((void));
char *brk __P((const char *));
int chroot __P((const char *));
size_t confstr __P((int, char *, size_t));
char *crypt __P((const char *, const char *));
int des_cipher __P((const char *, char *, long, int));
int des_setkey __P((const char *key));
@ -119,6 +117,7 @@ int fsync __P((int));
int ftruncate __P((int, off_t));
int getdomainname __P((char *, int));
int getdtablesize __P((void));
int getgrouplist __P((const char *, int, int *, int *));
long gethostid __P((void));
int gethostname __P((char *, int));
mode_t getmode __P((const void *, mode_t));