Commit Graph

1507 Commits

Author SHA1 Message Date
christos
017320144a PR/25827, PR/32373: addr AI_SRV 2013-05-03 19:34:13 +00:00
matt
8c629cb493 Add getbyteorder(void) prototype. 2013-05-02 07:17:35 +00:00
joerg
81d0329e8d Make that to process PATH_LOCALE the first time _find_category is
called. Use this to implement newlocale and provide duplocale/freelocale
as well. Based on patches by Takehiko Nozaki with simplications and fix
for the init order by myself.
2013-04-30 00:45:04 +00:00
matt
0b64d3196d Enable fenv support for arm. 2013-04-28 21:07:36 +00:00
joerg
668d06e93f Include at least ctype_bits.h, even when not providing the macros. 2013-04-28 19:39:56 +00:00
joerg
89a508fbb5 Systematically include sys/featuretest.h when _NETBSD_SOURCE is used.
Some are redundant, but make verification with grep much easier.
2013-04-27 21:35:24 +00:00
joerg
e8c1e0eee9 Include sys/featuretest.h before using _NETBSD_SOURCE. 2013-04-27 21:24:27 +00:00
joerg
cce2130bb3 machine/ansi.h is included by sys/ansi.h. 2013-04-27 21:22:05 +00:00
christos
c4c409af9e add at_quick_exit and quick_exit 2013-04-26 18:07:43 +00:00
joerg
3be70ab6e0 Define __bool_true_false_are_defined for C++ as well. 2013-04-26 17:41:34 +00:00
joerg
cd8f66ed62 Don't pollute the name space with the various stdio macros for C++. 2013-04-26 17:37:06 +00:00
joerg
2e24f90028 Provide the long long routines for C++11 code. 2013-04-26 17:36:24 +00:00
joerg
a74df2a38d Do not define the ctype(3) interface via macros for C++. 2013-04-26 17:35:52 +00:00
joerg
49082f1e71 Do not define the C++ alternative operator names as macros. 2013-04-26 10:58:45 +00:00
joerg
a4f8ad4bfc Do not define bool/true/false for C++. 2013-04-26 10:58:22 +00:00
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