Commit Graph

68 Commits

Author SHA1 Message Date
kleink 46269c5996 getpgid() is XPG4.2, actually. 1998-11-09 12:45:11 +00:00
mrg 32e9822211 add a prototype for getpgid (missing for years!) 1998-11-06 05:58:09 +00:00
mycroft f886615650 __Namespace__ __protection__. 1998-07-30 00:44:15 +00:00
mycroft a6b6f620db Sprinkle in some __attribute__((noreturn))s. 1998-07-28 00:28:29 +00:00
mycroft 29916a94a6 Slight rearrangement. 1998-07-27 11:09:19 +00:00
mycroft ab22ce8def If __AUDIT__ is defined, remove some traditional interfaces: gets, sprintf,
vsprintf, tempnam, mktemp, getwd.
1998-07-27 09:58:49 +00:00
mycroft 4f4968a946 Mark more functions returning internal buffers for const auditing. 1998-07-27 09:33:44 +00:00
mycroft 633b8f45a9 Make many of the new consts dependent on a new `__AUDIT__' flag, to avoid
breaking third party software.  *sigh*
1998-07-27 09:09:03 +00:00
mycroft 74d731feba KNF nit. 1998-07-26 19:20:55 +00:00
mycroft 4024f73640 const poisoning. 1998-07-26 13:34:18 +00:00
kleink 901ea16862 Addendum to previous change: since pread()'s and pwrite()'s first official
appearance was in X/Open CAE Spec Issue 5 Version 2, add a section for that
and move the prototypes there.
1998-07-02 21:20:54 +00:00
thorpej c0f28f93e4 Prototype pread(2) and pwrite(2) if !defined(_POSIX_C_SOURCE). 1998-06-30 19:46:41 +00:00
kleink 4a8b801d9d Add a prototype for fdatasync(2). 1998-06-05 20:45:39 +00:00
kleink f39087367a * Reorganize name space protection.
* Remove mknod() prototype; it's located in <sys/stat.h> (XPG4.2).
* Remove re_comp() and re_exec() prototypes; their location is <re_comp.h>
  (XPG4.2).
* Move setkey() prototype to <stdlib.h> (XPG4).
* Move mkstemp(), mktemp(), ttyslot() and valloc() prototypes to <stdlib.h>
  (XPG4.2).
Assign copyright to TNF.
1998-06-01 20:06:45 +00:00
kleink 9436b9b06b Make the rename() prototype available to XPG Issue <=3 applications only; the
canonical header for the prototype has been <stdio.h> for quite a while.
1998-05-24 19:13:56 +00:00
kleink 485ed6437f Change the type of the `namelen' argument of gethostname(), getdomainname(),
sethostname(), setdomainname() from int to size_t.  The former change was
made due to an X/Open XNS5 requirement, the latter three were made for
consistency.
1998-05-06 19:59:35 +00:00
kleink 3a1500efe9 Per X/Open CAE Spec Issue 5 Version 2, change the buffer size argument of
readlink() from type `int' to type `size_t'.  This isn't an ABI change, since
the calling convention of our only LP64 platform (the Alpha) already promotes
this argument to a `long'.

This may not be the final action on this matter; readlink() still returns
an `int', which may change in a future revision of the standard.
1998-03-27 13:02:20 +00:00
thorpej 31e20a3875 Prototype getsid(). 1998-02-18 18:24:26 +00:00
kleink c0dde81ddb If standards-compliance is requested by defining the preprocessor symbols
_POSIX_SOURCE or _XOPEN_SOURCE at compile time, use __RENAME() to call
__posix_chown(), __posix_fchown(), __posix_lchown() and __posix_rename()
instead of their NetBSD counterparts in order to remove the requirement of
linking against libposix.
1998-02-14 20:39:26 +00:00
perry b7b7322c68 merge lite-2 1998-02-02 21:07:13 +00:00
kleink f1d296dd60 Per XPG4, move the prototype of swab() from <string.h> to <unistd.h>. 1998-01-12 16:05:40 +00:00
thorpej 4a7fabf18c Update for __vfork14(). 1998-01-05 06:14:51 +00:00
kleink 916831ec4e Add lockf(), an alternate interface to perform advisory record locking;
per XPG4.2.
1997-12-20 20:23:15 +00:00
kleink 6598e022b2 Per XPG4.2, use useconds_t for as argument and return type of ualarm(). 1997-11-25 17:57:37 +00:00
kleink d92a29c3b7 Per XPG4.2, change usleep() to take an useconds_t as its argument, and return
an int.
1997-11-24 19:09:19 +00:00
kleink ae0ad1a554 Per XPG4.2, move mknod() prototype from <unistd.h> to <sys/stat.h>. 1997-11-02 17:16:48 +00:00
christos 3664382e53 move setmode and strsignal to unistd.h 1997-10-16 23:26:24 +00:00
mikel 3794b425f3 proto lchown() only if !_POSIX_SOURCE 1997-10-08 05:44:22 +00:00
enami 42aa3a4327 Declare prototype of lchown(2). 1997-10-06 01:43:21 +00:00
christos b2b50d955b Backout addition of user_from_uid and group_from_gid; they exist in pwd.h
and grp.h [pointed by cgd]
1997-07-20 19:18:49 +00:00
christos cf8c0114c2 Add user_from_uid and group_from_gid 1997-07-20 19:06:07 +00:00
christos 2b322cb844 Add missing swapon prototype and mark it obsolete. 1997-07-13 18:12:49 +00:00
kleink 8470989b67 Common sense dictates that the `basegid' paramater of initgroups(3) should
be of type gid_t, and not int.
1997-07-04 09:14:52 +00:00
mrg cab9e1c2f8 oops, forgot to commit this. prototype swapctl() in place of swapon(). 1997-06-23 01:13:43 +00:00
christos b13a0cea18 Add missing prototype for getgrouplist as mentioned in the man page. 1997-05-09 19:38:32 +00:00
cgd 1530406723 __syscall() should return quad_t, not int; what was i thinking? 1996-12-21 01:30:48 +00:00
cgd 9974d54108 sethostid returns int not void, also add prototype for __syscall that
matches manual page.
1996-12-20 19:33:56 +00:00
mycroft 7a494f5540 Don't prototype poll(2) here. SysV requires poll.h to be included. 1996-09-07 17:48:59 +00:00
mycroft 4723d5537c Prototype poll(2). 1996-09-07 14:30:56 +00:00
mrg 74693079c6 update for new reboot(2). 1996-08-09 10:32:11 +00:00
mycroft 20ba5e02de Declare setre[ug]id() to take [ug]id_t args. No functional difference. 1996-06-23 11:56:25 +00:00
mrg 343a54bb75 Change iuserok() to take u_int32_t. Some netgroup fixes (partially
from OpenBSD and Theo).
1996-05-28 02:07:32 +00:00
cgd a2ce90f34c change definition of profil() to make it 64-bit friendly. This has
no practical consequence on 32-bit systems.  old prototype was
int profil(char *, int, int, int), and new one is int profile(char *,
size_t, u_long, u_int).  the size_t is the size of the buffer,
and the u_long is the 'starting offset'.  (I changed the last int
to u_int, because it's treated as a u_int everywhere, and isn't
logically a signed value.)
1995-11-22 23:07:19 +00:00
mycroft 00d5ad1f8a Make definitions of psignal() and sys_siglist match signal.h. 1995-03-19 22:51:38 +00:00
mycroft 6e6e7be7b8 Add prototypes for undelete(2). 1994-12-28 04:40:28 +00:00
cgd 2ba9a0c114 proto for iruserok. 1994-12-23 15:04:05 +00:00
cgd 4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
cgd 0b201aeb5b better attributes. 1994-10-19 03:44:57 +00:00
mycroft d7603a1f35 NFS changes. 1994-06-08 11:59:55 +00:00
cgd b1e1a26f9b kill *chflags protos 1994-05-23 00:32:32 +00:00