diff options
author | Bruce Evans <bde@FreeBSD.org> | 1996-07-17 10:52:38 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1996-07-17 10:52:38 +0000 |
commit | a21dc21cee94096867e47cc6391d573bfadbc58a (patch) | |
tree | d438de46aa1d159e9cba1e53a13729db2e291c02 /include/unistd.h | |
parent | 21f432840f769bff40156feebde956def1936af0 (diff) | |
download | src-a21dc21cee94096867e47cc6391d573bfadbc58a.tar.gz src-a21dc21cee94096867e47cc6391d573bfadbc58a.zip |
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.
Notes
Notes:
svn path=/head/; revision=17192
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/unistd.h b/include/unistd.h index ace129cbcb1a..8094bd6bff15 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -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)); |