kleink
e2a4add9f7
brk(2) actually returns an int indicating success (0) or failure (-1). Also,
...
change its argument to void *. (Both XSH5).
1999-03-09 20:33:22 +00:00
kleink
13bbe6c70e
G/C orphaned unwhiteout() prototype.
1999-03-09 12:46:22 +00:00
thorpej
82865be7fd
Change the type of sys_siglist and sys_signame from const char *const [] to
...
const char *const *, and rename them to __sys_siglist14 and __sys_signame14.
This will prevent the size of the exported symbol from changing when more
signals are added to the list.
1998-11-30 20:36:27 +00:00
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
jtc
6abbb15be4
add new getopt(3) extern variable optreset
1994-05-07 00:20:42 +00:00
jtc
0691b2fcae
Last weekend's uid_t & gid_t changes allow us to change the uid & gid
...
arguments to fchown from ints to a uid_t and a gid_t.
1994-03-29 02:53:54 +00:00
jtc
2b5fbfd760
Last weekend's gid_t changes allow us to change the gidset argument of
...
getgroups() and setgroups() from a int ptr to a gid_t ptr.
1994-03-29 02:44:37 +00:00
cgd
612244f3b8
match 4.4's definitions for sys_siglist and sys_signame
1994-01-25 23:16:54 +00:00
cgd
a9995150b9
vfork() return type pid_t. reported by Peter Galbavy.
...
Also, whoever did the re-indenting in this file needs to be shot;
things shouldn't be indented by "tab-space"...
1993-12-30 04:11:56 +00:00
mycroft
504c62c073
Add `const's to sys_siglist and sys_signame decls.
1993-12-02 09:50:34 +00:00
jtc
d208b02924
Change prototypes of alarm and sleep to use "unsigned" instead of "u_int".
...
"u_int" is not defined by <sys/types.h> in a strict POSIX environment.
1993-10-14 23:15:26 +00:00
jtc
1b75821c58
Declare getopt(), getsubopt() and their external variables.
...
Still work to be done to handle all the combinations of _POSIX_SOURCE, and
_POSIX2_SOURCE, etc. to allow the user to select a strictly conforming
compilation environment, but this change allows us to transition
getopt() out of <stdlib.h>.
1993-10-13 18:22:06 +00:00
jtc
d3e27287c9
POSIX.1 says that ssize_t is defined in <sys/types.h>.
1993-09-25 01:52:59 +00:00
jtc
80f43f5e44
Provide prototype for POSIX.2 function confstr().
1993-09-21 21:53:31 +00:00
jtc
d229d39c12
Add prototypes for getdomainname() and setdomainname(); the man page
...
instructs the user to include unistd.h, but it didn't provide a
declaration.
1993-09-10 01:07:39 +00:00
jtc
c747426b9b
Add __dead qualifier to _exit(), as it never returns.
1993-08-06 21:13:32 +00:00
mycroft
c0772b9a9e
Add declaration of sys_signame[].
1993-08-06 20:43:34 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
jtc
9a11d802b6
Update fnmatch to be more posix complient (from keith bostic)
1993-06-16 17:17:30 +00:00
cgd
f9350c73f0
getpgrp actually takes void. ask the IEEE...
1993-05-16 01:51:51 +00:00
cgd
fe0ee6d526
fix bad prototype for getpgrp()
1993-05-15 09:44:34 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00