rtr
1db9feaaa0
fix comment Abtract -> Abstract
2008-02-04 23:08:01 +00:00
christos
708c364c0e
namespace protection for csetexpandtc()
2008-02-02 22:06:34 +00:00
christos
b831a8ada2
move decls for _malloc_{pre,post}fork() to extern.h
2007-12-04 17:45:07 +00:00
ad
4084ca7f3f
Add thr_curcpu(), pthread_curcpu_np().
2007-11-27 20:58:26 +00:00
christos
5463112942
- add read and readlink since they are used internally
...
- protect vsnprintf and vsnprintf since for lex(1) generated files <stdio.h>
is included before "namespace.h".
2007-06-03 17:38:07 +00:00
he
e085b08462
The sl_delete function needs namespace protection added here as well.
2007-05-10 11:52:28 +00:00
ghen
225c5452c3
Resolve conflicts.
2007-03-30 20:23:03 +00:00
ghen
e0bee3891d
Import bind 9.4.0.
2007-03-30 20:16:18 +00:00
christos
731b8a1ee4
SHA512_Last is not public anymore.
2007-02-18 18:16:24 +00:00
christos
8b01459275
Define for SHA512_Last.
2007-02-17 17:18:12 +00:00
christos
95177770c6
add resolv_mt.h
2007-01-27 22:43:57 +00:00
christos
d73eb73dc8
merge in resolver portion of bind-9.4.0-rc2
2007-01-27 22:26:43 +00:00
christos
8e42b6c984
import resolver portion of bind-9.4.0-rc2
2007-01-27 21:45:34 +00:00
christos
4ca73ce810
Don't expose _ss functions for 4.0. Requested by core.
2006-11-22 17:23:24 +00:00
drochner
97ffbcd858
cleanup unused stuff after hmac_* removal
2006-11-08 20:37:14 +00:00
christos
f594ba0d61
protect the *syslog_ss
2006-11-03 20:16:04 +00:00
christos
29741647a2
add {v,}snprintf_ss
2006-10-28 23:20:57 +00:00
christos
77f9f63fa2
add _r functions for syslog from OpenBSD
2006-10-25 23:49:31 +00:00
mrg
13cc47f2ec
remove duplicates added in previous commit.
2006-08-24 06:56:39 +00:00
christos
74f55fa411
I think we want both wcs{c,n}casecmp weak.
2006-08-23 14:01:21 +00:00
mrg
a8ef0c95b4
add wcsdup, wcscasecmp and wcsncasecmp. fixes build problems..
2006-08-23 06:18:12 +00:00
christos
cbfb283c65
- Add strndup and stresep
...
- Use stresep so in fstab so that we can mount paths with white space in them.
2006-08-12 23:49:53 +00:00
christos
e9b01fa061
Make these weak as Matthias Drochner pointed out.
2006-06-23 17:15:18 +00:00
christos
cfd3aebca4
PR/24324: Arne H Juul: Re-implement seekdir/telldir using a pointer of
...
locations per directory instead of a global hash table to avoid memory
leak issues, and incorrect results.
2006-05-17 20:36:50 +00:00
rpaulo
de8db47547
Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292).
...
* RFC 3542 isn't binary compatible with RFC 2292.
* RFC 2292 support is on by default but can be disabled.
* update ping6, telnet and traceroute6 to the new API.
From the KAME project (www.kame.net).
Reviewed by core.
2006-05-05 00:03:21 +00:00
salo
2118fde310
Add setttyentpath(), functionally equivalent to setttyent() but takes an
...
additional argument to read the ttys information from an alternate path
istead of _PATH_TTYS.
Required for upcoming init(8) changes.
Mostly from <apb>.
Bump libc minor.
2006-04-17 23:29:21 +00:00
christos
2c277d7a8d
namespace protect wcstod too, and fix the protection in wcstold and wcstof.
2006-04-16 17:03:32 +00:00
tnozaki
96c958955a
wcstod(3) is conform to ISO C90 Ammendant1 (FreeBSD's manpage is incorrect...).
...
don't __weak_alias'ize it and fix manpage.
2006-04-15 15:34:34 +00:00
tnozaki
f9de1ba57e
add c99 wcstof(3) and wcstold(3).
...
requested by skrll AT netbsd DOT org, thanks.
bump libc minor 138 -> 139.
2006-04-15 12:17:22 +00:00
kleink
bc89c06cbf
Add strtof(3) and strtold(3); welcome libc 12.137.
2006-03-15 17:35:17 +00:00
drochner
39222faf50
complete constification of the sysctl() user side
2006-02-24 19:33:09 +00:00
christos
c975cdc86c
- s/notyet/WIDE_DOUBLE/
...
- Add a little more glue for WIDE_DOUBLE; not done yet.
- s/def FLOATING_POINT/ndef NO_FLOATING_POINT/ to reduce diffs with FreeBSD.
- fix memory leak where each double formatted leaked 24 by calling __freedtoa()
appropriately. the new gdtoa keeps a list of memory chunks allocated by
malloc(), and it must maintained properly by calling __freedtoa() on the
results of __dtoa() Hi Klaus!
- in vfwprintf() make cvt return char * and convert it using __mbsconv(),
instead of having it return wchar_t *.
This should fix the memory leaks people have been reporting (eg. in top etc.)
2006-02-16 23:26:19 +00:00
kleink
4e50f4b644
Need to give the various rpc locks private names (prefixing them with
...
__rpc_). Rather than scattering changes around the 3rd-party RPC
code, place them in namespace.h.
2006-01-26 12:37:11 +00:00
christos
b72acd5139
rename __func to _func_unlocked, and add their prototypes in extern.h
...
instead of exposing them in dirent.h. More locking consistency fixes.
2006-01-24 19:33:10 +00:00
christos
14f3214d1a
the sha2 functions have an _.
2005-09-26 02:12:24 +00:00
elad
da7e4f7332
Fix weak aliasing after recent changes.
...
Inspired by comments from christos@, xtraeme@, mlelstv@, mhitch@, mrg@,
and uwe@; all the bugs are mine.
2005-09-25 22:20:59 +00:00
christos
cc85a7cfd9
add getenv_r and ttyname_r
2005-09-25 20:08:01 +00:00
veego
14464ad9fd
Last change to namespace.h had an wrong entry: in6addr_nodelocal_allrouters
...
instead of in6addr_linklocal_allrouters.
Bump the shared library minor version.
Thanks to Klaus Klein for the hint what went wrong.
2005-08-07 20:32:58 +00:00
christos
99e58e3f96
add missing in6addr_linklocal_allrouters.
2005-08-07 16:00:01 +00:00
christos
86741d79ab
- Fix the remaining indr_references so that they define lint symbols.
...
- Add an internal symbol for strerror_r (thanks klaus for noticing)
- Remove internal __strerror
2005-07-30 15:21:20 +00:00
christos
e99183b649
Add comments at the end of #endif's; Requested by Havard Eidnes.
2005-07-17 16:07:36 +00:00
christos
55b453fa3c
don't play #define games with lint. Breaks pass2.
2005-07-16 17:12:36 +00:00
yamt
176be94d27
add fgetwln.
2005-05-15 13:09:13 +00:00
christos
fad5d2cf7a
statvfs is both a function name and a struct tag. Defining it to _statvfs
...
causes lint to complain because it sees both struct statvfs and struct
_statvfs. Fix by changing the macro to have arguments.
XXX[1]: Probably this should be done for the rest of the functions that have
the same names as struct tags.
XXX[2]: Is there a better way?
2005-04-07 16:26:35 +00:00
christos
184974e05a
PR/29849, PR/29850: Add getpwent_r and getgrent_r
2005-04-02 04:53:53 +00:00
kleink
54e5574ccd
We have pselect(2) now; the local wrapper is no longer necessary.
2005-03-17 20:48:50 +00:00
kleink
fd5cb0acea
A little libc namespace housekeeping exercise:
...
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.
2005-02-09 21:35:46 +00:00
lukem
a3665ef9cf
Implement getgroupmembership(3). This is similar to getgrouplist(3), except
...
that the "int maxgroups" and "int *ngroups" parameters are separated into
two separate parameters which makes it possible to call multiple nsswitch
back-ends and have the results correctly merged.
getgrouplist(3) is now implemented using getgroupmembership(3).
Proposed on tech-userlevel on December 1, 2004.
2005-01-06 15:10:45 +00:00
kleink
9508efa066
Internally rename getdevmajor(); noted by Geoff Wing.
2004-12-16 12:30:04 +00:00
nathanw
5229c9f993
Nuke threadlib.h. Library defensive threading is now provided through the
...
normal pthread.h interface.
Move stubs for libc back into a libc-internal header.
2004-12-14 00:23:19 +00:00