X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/fe09ac07da8997158722e3d3ca6e87d1d9613b9a..29c87c4d41b0b477580e2dabf9fe9f5faeed5a58:/usr/src/include/unistd.h diff --git a/usr/src/include/unistd.h b/usr/src/include/unistd.h index d776b1ffd7..b50806c95e 100644 --- a/usr/src/include/unistd.h +++ b/usr/src/include/unistd.h @@ -4,7 +4,7 @@ * * %sccs.include.redist.c% * - * @(#)unistd.h 5.20 (Berkeley) %G% + * @(#)unistd.h 5.32 (Berkeley) %G% */ #ifndef _UNISTD_H_ @@ -26,11 +26,11 @@ __BEGIN_DECLS __dead void _exit __P((int)); int access __P((const char *, int)); -u_int alarm __P((u_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)); -char *cuserid __P((char *)); +size_t confstr __P((int, char *, size_t)); int dup __P((int)); int dup2 __P((int, int)); int execl __P((const char *, const char *, ...)); @@ -40,7 +40,7 @@ int execv __P((const char *, char * const *)); int execve __P((const char *, char * const *, char * const *)); int execvp __P((const char *, char * const *)); pid_t fork __P((void)); -long fpathconf __P((int, int)); /* not yet */ +long fpathconf __P((int, int)); char *getcwd __P((char *, size_t)); gid_t getegid __P((void)); uid_t geteuid __P((void)); @@ -53,9 +53,8 @@ pid_t getppid __P((void)); uid_t getuid __P((void)); int isatty __P((int)); int link __P((const char *, const char *)); -#define lseek __lseek off_t lseek __P((int, off_t, int)); -long pathconf __P((const char *, int)); /* not yet */ +long pathconf __P((const char *, int)); int pause __P((void)); int pipe __P((int *)); ssize_t read __P((int, void *, size_t)); @@ -64,8 +63,8 @@ int setgid __P((gid_t)); int setpgid __P((pid_t, pid_t)); pid_t setsid __P((void)); int setuid __P((uid_t)); -u_int sleep __P((u_int)); -long sysconf __P((int)); /* not yet */ +unsigned int sleep __P((unsigned int)); +long sysconf __P((int)); pid_t tcgetpgrp __P((int)); int tcsetpgrp __P((int, pid_t)); char *ttyname __P((int)); @@ -80,7 +79,6 @@ ssize_t write __P((int, const void *, size_t)); int acct __P((const char *)); int async_daemon __P((void)); char *brk __P((const char *)); -int chflags __P((const char *, long)); int chroot __P((const char *)); char *crypt __P((const char *, const char *)); int des_cipher __P((const char *, char *, long, int)); @@ -89,11 +87,8 @@ int encrypt __P((char *, int)); void endusershell __P((void)); int exect __P((const char *, char * const *, char * const *)); int fchdir __P((int)); -int fchflags __P((int, long)); int fchown __P((int, int, int)); -int fnmatch __P((const char *, const char *, int)); int fsync __P((int)); -#define ftruncate __ftruncate int ftruncate __P((int, off_t)); int getdtablesize __P((void)); long gethostid __P((void)); @@ -105,14 +100,14 @@ char *getpass __P((const char *)); char *getusershell __P((void)); char *getwd __P((char *)); /* obsoleted by getcwd() */ int initgroups __P((const char *, int)); -int iruserok __P((u_long, int, const char *, const char *)); +int iruserok __P((unsigned long, int, const char *, const char *)); int mknod __P((const char *, mode_t, dev_t)); int mkstemp __P((char *)); char *mktemp __P((char *)); -int nfssvc __P((int)); +int nfssvc __P((int, caddr_t)); int nice __P((int)); -void psignal __P((u_int, const char *)); -extern char *sys_siglist[]; +void psignal __P((unsigned int, const char *)); +extern const char *const sys_siglist[]; int profil __P((char *, int, int, int)); int rcmd __P((char **, int, const char *, const char *, const char *, int *)); @@ -143,11 +138,10 @@ int swapon __P((const char *)); int symlink __P((const char *, const char *)); void sync __P((void)); int syscall __P((int, ...)); -#define truncate __truncate int truncate __P((const char *, off_t)); int ttyslot __P((void)); -u_int ualarm __P((u_int, u_int)); -void usleep __P((u_int)); +unsigned int ualarm __P((unsigned int, unsigned int)); +void usleep __P((unsigned int)); void *valloc __P((size_t)); /* obsoleted by malloc() */ int vfork __P((void));