lukem
463cd54319
- Implement pwcache_userdb(3), which changes the routines that
...
user_from_uid(3) and uid_from_user(3) use to lookup user information.
- Implement pwcache_groupdb(3), which changes the routines that
group_from_gid(3) and gid_from_group(3) use to lookup group information.
- Ensure that private functions in pwcache.c are declared static
- Use strlcpy(3) instead of strncpy(3)
2002-01-24 02:46:32 +00:00
thorpej
ac8c1c29e9
* Add WSYSCALL() to SYS.h, which creates a system call with an
...
internal name and a weak alias for the name.
* Add a WEAKASM syscall list, and process it.
* Make sysarch() have an internal name (_sysarch()).
2002-01-14 00:55:55 +00:00
thorpej
5d3e829423
Add internal names for fp{get,set}{mask,round,sticky}(), and
...
externally-visible weak aliases for the internal names.
2002-01-13 21:45:39 +00:00
aymeric
e795aa7818
move adjtime and clock_settime where they belong, now that they are C functions.
...
Apart from being TRT, this makes a.out builds work again.
2001-09-19 21:38:21 +00:00
manu
54c0ce6119
Added support to use the clockctl driver if present for adjtime(),
...
clock_settime(), ntp_adjtime() and settimeofday(). The super-user still
always use the plain system call.
Approved by Christos
2001-09-16 07:41:56 +00:00
kleink
15318b7678
Internally rename sysconf() to __sysconf() to make its latter name suitable
...
for use from public headers. Also, do so on all platforms.
2001-05-07 17:25:57 +00:00
kleink
fe3c9ceaf7
* Move definitions of exact-width integer types from <machine/types.h>
...
to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
intmax_t, pointer-type and size_t arguments.
2001-04-28 15:41:28 +00:00
kleink
3432ed7203
Need an internal name for asprintf(3).
2001-04-13 14:18:09 +00:00
kleink
f6a1b39cc5
Finally deprecate the old timezone() interface in favor of an XSH5
...
timezone/daytime pair; as proposed by J.T. in September, 1996.
Fixes PR standards/11807 by Nick Hudson.
2001-03-31 18:58:41 +00:00
atatat
3ddb3899a3
Add md2 routines to libc.
2001-03-19 04:13:16 +00:00
cgd
2497c0a8d3
define getprogname to _getprogname for internal use
2001-02-19 22:11:40 +00:00
briggs
d00ebb12e9
Add {__,}fmtcheck(), a function specified by Bill Sommerfeld to check
...
a user-supplied format string against a fallback format string to ensure
that they will consume arguments of the same type.
libc minor bump for new API entry point.
2000-10-20 18:46:05 +00:00
kleink
82fd76bb06
Need an internal name for pipe(2).
2000-09-28 08:38:53 +00:00
kleink
dae360611f
XCU5: Add fseeko() and ftello() functions which provide the functionality of
...
fseek() and ftell(), respectively, but operate on file offsets of type off_t.
2000-07-08 13:46:33 +00:00
kleink
6a431c53e5
Lexicographically sort in previous.
2000-07-05 12:03:50 +00:00
ad
90517b417b
Pull in RIPEMD-160 functions from OpenBSD - this has the same API as our MD4,
...
MD5 and SHA1 stuff.
2000-07-05 11:44:01 +00:00
kleink
b8a4d7adf9
Need an internal name for fork().
2000-06-26 06:32:54 +00:00
kleink
03f996bd0c
Add internal names for brk() and sbrk().
2000-06-23 15:40:36 +00:00
fvdl
7df0ccbadc
Add new RPC code, based on Sun's TI-RPC code. Adapted to not use XTI,
...
but sockets instead, internally. Old, backward compatible interfaces
maintained.
2000-06-02 23:11:05 +00:00
kleink
cd628af723
Need an internal name for send(); noticed by itojun.
2000-05-08 13:38:44 +00:00
itojun
92db021bdc
use BSDI-origin if_{index,name}* functions. they use getifaddrs(3) as
...
backend and are more robust against SIOCGIFCONF alignment issue.
now getifaddrs always takes care of the issue. (sync with kame tree)
use weak symbol just in case.
2000-04-24 10:24:46 +00:00
itojun
c6bf4b09bd
supply weak alias for IPv6-related library additions. sorry to be late.
2000-04-24 09:27:30 +00:00
christos
a86a7b415a
protect getopt_long.
2000-04-02 21:27:14 +00:00
minoura
78b105698a
Move dl* function definitions to libc on ELF.
...
Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>.
See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html .
2000-04-02 15:35:47 +00:00
kleink
31f60ab101
No longer need internal names for strtoq() and strtouq().
2000-03-08 20:17:19 +00:00
kleink
e4d7c2e329
Add ISO C99 long long integer general utility interfaces; partially addresses
...
PR standards/9482.
2000-03-06 18:32:22 +00:00
mycroft
1c86155f3b
Ditto for nlist().
2000-01-23 01:35:49 +00:00
mycroft
fb345096b7
Don't do the namespace hack for timezone() here; it causes lint, and we don't
...
need it anyway.
2000-01-22 21:43:15 +00:00
thorpej
0bbf216692
Implement XDR routines for 64-bit integer data types:
...
- xdr_int64_t(), xdr_u_int64_t(), per NetBSD convention.
- xdr_hyper(), xdr_u_hyper(), xdr_longlong_t(), xdr_u_longlong_t(), a'la
Solaris, implemented in terms of the above.
1999-12-01 18:34:21 +00:00
wennmach
7b7d5b8b06
Added #defines for svis, strsvis, strsvisx
1999-11-25 16:54:15 +00:00
kleink
749057fddc
Need internal names for these, too.
1999-09-20 15:07:21 +00:00
kleink
252971afdb
Add indirect reference stubs for inet_[ap]ton() for environments not supporting
...
weak aliases; addresses PR lib/7435 but leaves the original file intact.
1999-09-15 14:21:01 +00:00
mycroft
ceae8b05d6
getsubopt(3) has a weak alias.
1999-08-17 05:20:23 +00:00
kleink
55cb8b09ce
Functionally back out namespace.h revision 1.7 and perror.c revision 1.15;
...
perror() is an identifier reserved by ANSI/ISO C, and in case of a redefition
the behavior is undefined.
1999-03-09 13:14:36 +00:00
kleink
e2b924d2ae
Add l64a_r(), a reentrant version of l64a(); found in the Multithreading
...
Extension of SVID4.
1999-02-06 15:04:05 +00:00
explorer
b131132411
add sha1 functions, like md5/4
1999-02-04 05:08:58 +00:00
lukem
9a137f1f22
namespace protect hesiod stuff
1999-01-25 00:13:28 +00:00
lukem
1cc0315b28
protect nsdispatch. sort entries
1999-01-20 11:48:49 +00:00
thorpej
50611666b1
Need an internal name for the (new) sys_nsig.
1998-11-30 20:43:06 +00:00
kleink
1070537dd5
Need internal names for MD[45]{Init,Final,Update}().
1998-10-20 17:04:45 +00:00
kleink
3e8c90f694
Replace use of getdtablesize() with (the non-deprecated) sysconf(), hence no
...
need for an internal name for the former any more; suggested by Matthew Green.
1998-10-18 13:56:21 +00:00
kleink
bedf769000
getsubopt() isn't used internally.
1998-10-16 20:35:20 +00:00
kleink
571ab7ae88
Need an internal name for herror().
1998-10-16 20:26:02 +00:00
kleink
d898f65fdd
Need an internal name for tzname.
1998-10-16 12:56:44 +00:00
kleink
796b7ae4bf
Need an internal name for signal().
1998-10-16 12:47:45 +00:00
kleink
73ef151b8c
Need an internal name for fgetln().
1998-10-16 12:39:54 +00:00
kleink
b0decd2b79
Need an internal name for dn_expand().
1998-10-15 09:28:13 +00:00
kleink
7a85778bf7
Need internal names for {end,set}hostent().
1998-10-14 19:41:03 +00:00
kleink
886f927ec6
Need internal names for res_init(), res_mkquery(), res_query() and res_search().
1998-10-14 19:13:01 +00:00
kleink
dc86984b00
Need internal names for ftruncate(), lseek(), mmap(), pread() and pwrite().
1998-10-14 11:25:18 +00:00