christos
cd8fc4ae1f
delete duplicate namespace protection.
2004-06-02 20:54:58 +00:00
christos
6f3786f41c
namespace protection for resolver routines.
2004-05-21 15:35:05 +00:00
christos
e878251743
Add headers that ISC software [bind9] needs to include
2004-05-20 22:26:22 +00:00
christos
8681712dac
de-lint
2004-05-20 19:51:55 +00:00
christos
89abd4929c
import isc specific header files.
2004-05-20 19:49:41 +00:00
drochner
db594c6591
After discussion with christos, turn fgetstr() into an internal function.
...
Its API in inherently non-threadsafe (and it depends on certain properties
of the underlying stdio implementation), so it shouldn't be a first-class
function for general use, polluting the application namespace.
Also remove the FLOCKFILE() code from it - this is under control of the
calling function now.
(XXX I'm not sure whether the FLOCKFILE() should be kept in fgetln(),
this function cannot be used in multiple threads anyway. It doesn't
hurt much, and it might prevent corruption of internal FILE structures.)
2004-05-10 16:47:11 +00:00
kleink
a060c8818b
We now need an internal name for fileno(), since when buildling libc
...
_REENTRANT we can no longer use the macro version from <stdio.h>.
2004-05-09 17:27:53 +00:00
kleink
537be69d5c
Remove internal names for dbm_*(3); these are not required at this time.
2004-04-27 20:03:45 +00:00
christos
4e510a4ef6
protect fgetstr
2004-04-21 00:02:26 +00:00
atatat
8d5507a13f
Weak aliases for sysctlfoobar() functions.
2004-04-08 05:45:26 +00:00
kleink
8e54f10bf7
* Turn isinf(3) and isnan(3) into C99-style macros.
...
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.
2004-03-04 23:42:38 +00:00
christos
7782337bb7
_r functions for services and protocols; also add the inet_cidr_* function
...
which will come next.
2004-02-19 19:22:51 +00:00
matt
7fff5acf50
Constify the _-sigaction_sigtramp tramp argument.
2003-09-27 03:14:59 +00:00
jdolecek
bb21f0beb4
remove pw_dup()
2003-09-18 09:24:35 +00:00
itojun
f6da4d89f2
weak alias for pw_dup
2003-09-13 22:28:12 +00:00
itojun
1ecc9b581c
use internal names for randomid()
2003-09-13 21:27:43 +00:00
nathanw
2b293cab66
Adapt definition of FLOCKFILE()/FUNLOCKFILE() to new __flockfile_internal()
...
routines.
2003-07-18 21:51:22 +00:00
tshiozak
ff5c3e6895
Citrus iconv support(4)
...
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
- bump libc minor.
- add iconv data files.
- create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
mkesdb(1)/mkcsmapper(1).
2003-06-27 05:21:49 +00:00
christos
fa46624bca
add readdir_r alias
2003-05-28 20:22:55 +00:00
thorpej
5a467fa72d
Add isinfl() and isnanl().
2003-05-17 20:43:13 +00:00
nathanw
4fb740b8de
Implement pthread_atfork() (in libc, because the required threadlib
...
stub behavior is exactly the same as the usual behavior).
2003-02-13 02:50:48 +00:00
thorpej
96bb0ae126
Use <threadlib.h>.
2003-01-19 19:25:05 +00:00
thorpej
3fdac2b8c5
Merge the nathanw_sa branch.
2003-01-18 10:52:16 +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
fvdl
86dddb97cd
Add rpc_control.
2002-11-08 00:13:29 +00:00
thorpej
522edd584e
Add prototype for __sigaction_sigtramp(). This system call is used
...
only by libc internally, and thus does not need to be exported in
any other header file.
2002-07-09 23:35:49 +00:00
kleink
937479fc3b
Need internal names for strlcat() and strlcpy().
2002-04-17 16:23:08 +00:00
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