joerg
e9c87d7728
__BEGIN_DECLS/__END_DECLS
2013-04-21 18:41:32 +00:00
joerg
e91cf89069
strftime_l is part of POSIX2008.
2013-04-21 17:54:56 +00:00
joerg
99fac95b50
Store time-specific locale data directly in the locale.
...
Ad dstrftime_l, strftime_lz and strptime_l.
2013-04-21 17:45:46 +00:00
joerg
d1548b5ebd
More __BEGIN_DECLS / __END_DECLS wrappers.
2013-04-19 23:45:15 +00:00
joerg
6c5ca8f80c
Add missing __BEGIN_DECLS/__END_DECLS.
2013-04-19 23:42:26 +00:00
joerg
9790c07a61
Add scanf_l and wscanf_l families.
2013-04-19 23:32:16 +00:00
joerg
e81d3f1ebf
Add dummy strcoll_l and strxfrm_l.
2013-04-19 23:28:47 +00:00
joerg
386426dedd
If __FLT_EVAL_METHOD__ exists and is in {0,1,2}, provide float_t and
...
double_t.
2013-04-19 16:40:59 +00:00
joerg
2561b63430
Add explicit locale versions for the printf family. Replace asprintf,
...
snprintf and sprintf with simple wrappers around the corresponding
va_list functions to reduce code duplication.
2013-04-19 15:22:24 +00:00
joerg
3c1c8515c7
Add MB_CUR_MAX_L.
2013-04-19 14:35:31 +00:00
joerg
10e0e4a06b
Add wcscoll_l, wcsxfrm_l, wcsncasecmp_l, wcscasecmp_l, btowc_l,
...
mbrlen_l, mbsinit_l, mbsrtowcs_l, wcrtomb_l, wcsrtombs_l and wctob_l.
2013-04-18 23:24:26 +00:00
joerg
9a7fa6ff3c
Add wcstof_l, wcstod_l and wcstold_l.
2013-04-18 22:23:17 +00:00
joerg
ceb51ddcad
Add mblen_l, mbstowcs_l, wctomb_l, mbtowc_l and wcstombs_l.
2013-04-18 22:22:20 +00:00
joerg
c99aac45e5
Add strtof_l, strtod_l and strtold_l.
2013-04-18 21:54:10 +00:00
joerg
6ffcdd8d70
Add localeconv_l.
2013-04-17 20:40:13 +00:00
joerg
58520523b5
White space
2013-04-17 09:07:32 +00:00
joerg
a67fde0356
Add strtol_l and friends. Switch _citrus_bcs_strtol to use plain
...
strtol_l unless in tools mode. Add note to retire the BCS code on the
next libc major bump.
2013-04-16 21:44:06 +00:00
joerg
444e318434
Add support for wcstoimax_l and friends.
2013-04-16 16:52:13 +00:00
joerg
2eb3224ae9
Also add prototypes for wcwidth_l and wcswidth_l.
2013-04-16 11:55:02 +00:00
joerg
b7970e3b60
Add wcwidth_l, wcswidth_l and the wctype.h family of *_l functions.
2013-04-16 11:39:13 +00:00
joerg
4e2459a9e6
Add isalpha_l and friends.
2013-04-16 11:29:12 +00:00
joerg
14b179f1c9
Rename struct _locale_impl_t to struct _locale, since it will end up as
...
locale_t later.
2013-04-14 23:30:15 +00:00
christos
4ce5b0bd1b
PR/47617: Thorsten Brehm: Memory and socket leak in librpc
2013-03-04 17:29:03 +00:00
christos
88d1b254b8
More fixes from J.R. Oldroyd. We introduce a new function that can
...
retrieve and return if there has been a conversion error, so that
it can keep performing char-by-char processing if a multi-byte
conversion occurred. Also some more code cleanups in the "extra"
processing.
2013-02-20 17:01:15 +00:00
matt
aa951aade1
FP_ILOGBNAN should be INT_MAX
2013-02-11 07:29:21 +00:00
matt
05393fd8a6
Define FP_ILOGB0 and FP_ILOGBNAN
2013-02-09 22:56:20 +00:00
matt
6c1355b4ee
Add missing long double prototypes.
2013-01-28 23:19:50 +00:00
matt
1ab62a3abe
Add missing long double functions
2013-01-28 23:19:28 +00:00
mbalmer
eab9b0114a
Fix typo.
2013-01-23 17:27:35 +00:00
dholland
196f95b039
Remove #if defined(_KERNEL) around a userlevel function.
2013-01-12 17:17:26 +00:00
christos
d37bfd6475
Add VIS_GLOB (Brooks Davis)
2012-12-14 21:36:59 +00:00
skrll
6da0cd6163
Check for _NETBSD_SOURCE being defined wherever we check for
...
_INCOMPLETE_XOPEN_C063 so that we expose the new POSIX extended API set
recently added.
2012-12-01 13:28:18 +00:00
pooka
169dfff670
revert previous commit since it breaks the build on NetBSD and
...
apparently that's considered important
2012-11-26 19:53:41 +00:00
pooka
1fedf4b3c8
When including this from a tools build, avoid defining _PWD_H_ since
...
that macro causes DragonFly's util.h to define conflicting routines.
2012-11-26 17:18:39 +00:00
manu
a76c1cc17f
Add most system calls for POSIX extended API set, part 2, with test cases:
...
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).
Also implement O_SEARCH for openat(2)
Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
christos
ed2260d139
use standard queue macros.
2012-11-15 18:49:37 +00:00
christos
48b1b7d23d
add <netinet/in.h> because it is needed for sockaddr_in.
2012-11-07 15:45:24 +00:00
christos
8abc3de551
Over the years this header gained a lot of disparate functionality
...
and willy nilly people kept adding headers appropriate to the new
functionality So we reached where we are today, this header causes
lots of namespace conflicts (for example you cannot use util.h from
a lex file, because ECHO is macro used in lex, and ECHO is defined
to 8 in termios). Roll back time, and remove all the unnecessary
includes, leaving it to the program to include the ancillary headers
they need.
2012-11-04 23:25:59 +00:00
drochner
5724e77fda
Implement experimental support to pass notifications that a file
...
was deleted from the filesystem to the disk driver, commonly
known as "discard" or "trim".
fs/driver support is in ffs and ata wd for now.
This is what was posted here:
http://mail-index.netbsd.org/tech-kern/2012/02/28/msg012813.html
with minor cleanup, and the global switch replaced by a mount option.
2012-10-19 17:09:06 +00:00
christos
71bbc99990
add clock_nanosleep
2012-10-02 01:42:06 +00:00
christos
9d1644e9da
make the default to not check names.
2012-09-09 18:03:17 +00:00
drochner
8588929dc5
Add "consttime_bcmp" and "explicit_bzero" functions for both kernel
...
abd userland, as proposed on tech-security, with explicit_bzero using
a volatile function pointer as suggested by Alan Barrett.
Both do what the name says. For userland, both are prefixed by "__"
to keep them out of the user namespace.
Change some memset/memcmp uses to the new functions where it makes
sense -- these are just some examples, more to come.
2012-08-30 12:16:48 +00:00
joerg
5e0b44099f
SSP mostly works with Clang, even if optimisation is disabled.
...
Explicitly disable it for Lint though.
2012-08-08 20:23:32 +00:00
yamt
5c3967c0d3
comments
2012-07-30 23:04:42 +00:00
joerg
37a2d02f2e
Always provide *_chk prototypes. Fixes DBG=-g build of libc.
2012-07-22 21:05:26 +00:00
darrenr
3ec957d580
bin/46703: BSD r-commands use wrong source address for stderr
...
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=46703
Bump libc minor for the addition of rresvport_af_addr()
2012-07-14 15:06:26 +00:00
christos
6ddff5efba
sprinkle restrict in realpath(3)
2012-06-21 21:13:29 +00:00
joerg
1907ec3a61
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
...
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +00:00
joerg
f22837c031
Prototype for cdbw_stable_seeder.
2012-06-03 21:21:45 +00:00
christos
ba12b0dcec
oops, forgot to commit: add tgamma and tgammaf
2012-05-05 22:07:57 +00:00