diff options
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/include/unistd.h b/include/unistd.h index e194500c2bf0..7428f5dd1dc5 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)unistd.h 8.12 (Berkeley) 4/27/95 + * @(#)unistd.h 8.10 (Berkeley) 4/16/94 */ #ifndef _UNISTD_H_ @@ -49,14 +49,12 @@ #endif __BEGIN_DECLS -__dead void - _exit __P((int)); +void _exit __P((int)) __dead2; int access __P((const char *, int)); 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 *, ...)); @@ -97,10 +95,6 @@ char *ttyname __P((int)); int unlink __P((const char *)); ssize_t write __P((int, const void *, size_t)); -extern char *optarg; /* getopt(3) external variables */ -extern int optind, opterr, optopt; -int getopt __P((int, char * const [], const char *)); - #ifndef _POSIX_SOURCE #ifdef __STDC__ struct timeval; /* select(2) */ @@ -109,6 +103,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)); @@ -116,15 +111,16 @@ int encrypt __P((char *, int)); void endusershell __P((void)); int exect __P((const char *, char * const *, char * const *)); int fchdir __P((int)); -int fchown __P((int, int, int)); +int fchown __P((int, uid_t, gid_t)); 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)); -__pure int - getpagesize __P((void)); +int getpagesize __P((void)) __pure2; char *getpass __P((const char *)); char *getusershell __P((void)); char *getwd __P((char *)); /* obsoleted by getcwd() */ @@ -145,10 +141,12 @@ int re_exec __P((const char *)); int readlink __P((const char *, char *, int)); int reboot __P((int)); int revoke __P((const char *)); +pid_t rfork __P((int)); int rresvport __P((int *)); int ruserok __P((const char *, int, const char *, const char *)); char *sbrk __P((int)); int select __P((int, fd_set *, fd_set *, fd_set *, struct timeval *)); +int setdomainname __P((const char *, int)); int setegid __P((gid_t)); int seteuid __P((uid_t)); int setgroups __P((int, const gid_t *)); @@ -167,16 +165,13 @@ int swapon __P((const char *)); int symlink __P((const char *, const char *)); void sync __P((void)); int syscall __P((int, ...)); +off_t __syscall __P((quad_t, ...)); int truncate __P((const char *, off_t)); int ttyslot __P((void)); unsigned int ualarm __P((unsigned int, unsigned int)); -int unwhiteout __P((const char *)); void usleep __P((unsigned int)); void *valloc __P((size_t)); /* obsoleted by malloc() */ pid_t vfork __P((void)); - -extern char *suboptarg; /* getsubopt(3) external variable */ -int getsubopt __P((char **, char * const *, char **)); #endif /* !_POSIX_SOURCE */ __END_DECLS |