atatat
5ea6c6f13e
Spelling police. "__resitrct" was not spelled cirectly enough.
2002-12-20 20:59:22 +00:00
lukem
32d2556b0c
this needs <sys/types.h>
2002-12-12 23:00:37 +00:00
scw
0c83fd4944
Add getlabelsector() and getlabeloffset() as wrappers around the
...
KERN_LABELSECTOR and KERN_LABELOFFSET sysctls.
2002-12-12 09:45:32 +00:00
christos
d8c7cd31c5
New auth length defines. We don't play with sockaddr for now. Also make
...
the list of commands const.
2002-11-30 04:02:19 +00:00
lukem
b1e79510cf
- Migrate fparseln(3) from libutil to libc, where it should have been in
...
the first place...
- Bump libutil major (to 7.0) and libc minor (to 12.91).
2002-11-30 03:04:44 +00:00
lukem
6ca5b5bb68
add strsuftoll(3) and strsuftollx(3) - parse a string for a number
...
with an optional suffix, product (two numbers separated by `x'), and
provide range checking
2002-11-29 12:58:14 +00:00
kleink
4f7792917a
Update for 1003.1-2001 base and XSI changes.
2002-11-18 13:39:33 +00:00
thorpej
21353eb9a6
Make fts_pathlen and fts_nitems unsigned.
2002-11-11 01:07:08 +00:00
fvdl
858b3fd46a
Include rpc_com.h.
2002-11-08 00:10:58 +00:00
fvdl
0a46d2378d
include rpc_com.h, and define SVC{GET,SET}_CONNMAXREC
2002-11-08 00:10:44 +00:00
fvdl
c6e006104d
Install rpc_com.h
2002-11-08 00:08:38 +00:00
fvdl
00503f61de
Moved here from libc/rpc. Install this in /usr/include/rpc, just
...
like on Solaris. This wasn't done before, since it only contained
internal libc interfaces. These have been moved to rpc_internal.h,
and this file now contains some actual exported definitions.
2002-11-08 00:08:20 +00:00
joda
2a0b34371c
set version to 0.5nb1
2002-10-21 21:10:59 +00:00
elric
4b6afdd53e
add prototypes for disklabel_dkcksum() and disklabel_scan().
2002-10-12 20:46:57 +00:00
provos
b899aa2abc
implement FNM_LEADING_DIR; matches Linux and other *BSDs; approved thorpej
2002-10-06 03:15:45 +00:00
christos
dfbaa22bd7
Assign to TNF.
2002-10-04 11:42:38 +00:00
mycroft
016f903642
select() -> poll()
2002-09-20 21:48:58 +00:00
mycroft
ee48615074
select() -> poll()
2002-09-20 21:34:31 +00:00
christos
6a066bf4a4
Add snprintb(3)
2002-09-20 21:11:36 +00:00
lukem
99fe9d3e76
minor makefile delint
2002-09-18 06:17:38 +00:00
joda
a8826a31ce
update to newer versions
2002-09-12 13:32:37 +00:00
itojun
d4a64790e3
remove unused/unsupported AI_xx. notified by PR 18072
2002-08-26 13:38:19 +00:00
enami
38540fc05e
Cosmetic changes.
2002-08-15 04:47:12 +00:00
abs
35a808e4e8
Add humanize_number.3 from Tomas Svensson in PR lib/15508.
...
Bump version of libutil
2002-08-08 16:50:35 +00:00
soren
b377ecd704
Back out previous - I was confused.
2002-08-04 18:06:54 +00:00
soren
f745d16995
Per IEEE 1003.1-2001, omit from <limits.h> those Pathname Variable Values
...
that may vary between filesystems: _POSIX_LINK_MAX, _POSIX_NAME_MAX, and
_POSIX_PATH_MAX. These are to be obtained from pathconf() instead.
2002-08-04 05:41:58 +00:00
soren
c6f042d6fc
As of IEEE (POSIX) 1003.1-2001, _POSIX_PATH_MAX must be at least 256 rather
...
than 255 and is now defined to include the terminating NUL.
2002-08-04 05:22:34 +00:00
christos
2caaca4c2b
Add __P(()); noticed by wiz.
2002-07-28 22:48:38 +00:00
christos
f04f8bc949
add utmpname()
2002-07-28 21:45:39 +00:00
christos
2004baccd5
add some utmp processing functions.
2002-07-27 23:57:02 +00:00
christos
d857e8ec8a
add utmpx/wtmpx processing routines
2002-07-27 23:49:00 +00:00
christos
230d3c5bc9
updates to lastlogx implementation.
2002-07-27 19:38:08 +00:00
bjh21
c1ba727b47
Version times() so that programs compiled before the recent change to make
...
sysconf(_SC_CLK_TCK) return hz will work.
In detail:
__times13() returns values scaled by hz.
times() returns values scaled by 100.
<sys/times.h> renames times() to __times13().
_SC_CLK_TCK has changed from 3 to 39.
sysconf(3) returns 100.
sysconf(39) returns hz.
CLK_TCK is defined as sysconf(39).
2002-06-30 09:45:39 +00:00
perry
25e1b60346
In the manner of Solaris and other OSes, we now define CLK_TCK to
...
expand to a call to __sysconf(_SC_CLK_TCK), rather than hard coding it
as a constant.
2002-06-23 19:41:04 +00:00
christos
310f799ea7
forward declaration for struct utmp.
2002-06-02 00:00:27 +00:00
itojun
3c0e2afcd7
do not define types like int32_t or u_int32_t locally.
2002-05-30 14:13:01 +00:00
thorpej
42320e8223
* Move the prototype of __svfscanf from <stdio.h> to libc/stdio/local.h.
...
* Add prototype for vfscanf to <stdio.h>.
* Remove #define of vfscanf to __svfscanf from <stdio.h>.
* Include local.h in libc files which need __svfscanf.
* Add vfscanf weak alias to __svfscanf.
Fixes standards/16997.
NOTE: libc minor not bumped -- ride on the bump to 12.84 made by
itojun today.
2002-05-24 22:17:20 +00:00
thorpej
aa676fc0b2
Parameterize the vfscanf macro's arguments. Without them, 3rd party
...
software can become greatly confused.
This fixes 4 GCC 3.2 testsuite failures.
This is a stop-gap measure which can be easily applied to the 1.6
release branch. A different fix for the trunk is forthcoming.
2002-05-24 21:07:44 +00:00
thorpej
b57df3dd9d
Add a scanf format attribute to __svfscanf().
2002-05-24 06:17:29 +00:00
itojun
c89c003ed2
support bcrypt password. can be chosen by "blowfish" keyword in passwd.conf.
...
from openbsd
2002-05-24 04:02:47 +00:00
itojun
e68f73c3fe
add arc4random(3). from openbsd
2002-05-24 04:01:43 +00:00
kleink
a24f74d0fd
Turn the flags argument to getnameinfo(3) back into an int (from unsigned
...
int); this is consistent with RFC2553, the current draft-ietf-ipngwg-
rfc2553bis-05 and the majority of deployed implementations.
Also, there is an effort under way to have this changed back to int in
XBD6/XSH6, XNS, and POSIX-2001 TC1.
2002-05-22 09:42:37 +00:00
itojun
c2c2980f42
change return type of pidfile(3) to int (-1 on error), to inform caller
...
of errors. behavior now in sync with openbsd implementation.
(see tech-userlevel and bsd-api-discuss)
2002-05-22 07:31:40 +00:00
kleink
ba77dc646c
XNS5.2/POSIX-2001: change the size argument to inet_ntop from size_t to
...
socklen_t.
2002-05-14 18:57:31 +00:00
kleink
4b77e72e94
More XNS5.2/POSIX-2001 alignment: change the flags argument to
...
getnameinfo() from int to unsigned int.
2002-05-14 14:35:36 +00:00
kleink
485febee55
Align with XNS5.2/POSIX-2001: change hostlen and servlen arguments to
...
getnameinfo() from size_t to socklen_t.
2002-05-14 14:31:05 +00:00
kleink
06d36d9eee
struct addrinfo.ai_addrlen used to be a size_t, per RFC 2553.
...
In XNS5.2, and subsequently in POSIX-2001 and draft-ietf-ipngwg-rfc2553bis-02
it was changed to a socklen_t.
To accomodate for this while preserving binary compatibility with the
old interface, prepend or append 32 bits of padding, depending on
the (LP64 data model) architecture's endianness.
This should be deleted the next time the libc major number is
incremented.
2002-05-14 13:45:13 +00:00
kleink
17aaf20cdd
Update several name space/feature protection tests to check for
...
_XOPEN_SOURCE >= 520 (XNS 5.2), either rigging it for that version or
replacing the (wrong) test for >= 500.
2002-05-10 22:02:11 +00:00
bjh21
dad5e0c347
Change RCS/SCCS IDs to our usual style.
2002-04-26 15:32:45 +00:00
bjh21
2277ee229b
This header needs struct in_addr from <netinet/in.h>, so include that.
...
POSIX-2001 says exposing the contents of <netinet/in.h> here is OK.
2002-04-26 14:56:16 +00:00