haiku/headers/posix
Trung Nguyen d338200e2b libs/posix: Implemented new locale functions
Implemented the missing POSIX functions in <locale.h>:
newlocale, duplocale, uselocale, and freelocale, and also
provided missing type definitions for <locale.h>.

Implemented missing POSIX locale-based function variants.

Modified LocaleBackend so that it could support thread-local
locales.

Some glibc-like locale-related variables supporting
ctype and printf family of functions have also been updated
to reflect the thread-local variables present in the latest
glibc sources.

As there have been some modifications to global symbols
in libroot, libroot_stubs.c has been regenerated.

Bug: #17168
Change-Id: Ibf296c58c47d42d1d1dfb2ce64042442f2679431
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5351
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2022-07-11 16:30:16 +00:00
..
arch posix/arch/signal: Fix riscv64 arch detection 2022-01-12 12:17:15 +00:00
arpa arpa/nameser.h: Fix build on GCC8. 2020-07-03 15:30:00 -04:00
compat/sys
net net/if: Drop ifmediareq and just use the regular ifreq for SIOCGIFMEDIA. 2022-06-13 22:31:33 -04:00
netinet headers: More removal of the BSD Advertising Clause. 2020-07-03 15:00:37 -04:00
netinet6 in6.h: declare in6_addr with a union and extra fields 2020-10-23 08:13:03 +00:00
sys sys/resource.h: add rusage compatibility fields, set to zero 2021-06-20 12:50:24 +00:00
alloca.h
assert.h assert.h: reintroduce headers guard for function declarations. 2015-08-29 23:14:03 +02:00
complex.h complex.h: add a C++ guard. 2016-10-05 09:18:42 +02:00
ctype.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
dirent.h dirent: Use an actual flexible-length array for d_name. 2021-11-18 16:34:03 -05:00
div_t.h
dlfcn.h libroot.so: make first parameter of dladdr() const. 2017-09-15 23:09:24 +02:00
endian.h Clarify endianness defines. 2019-08-27 17:44:57 +02:00
errno.h
fcntl.h fcntl.h: define O_DIRECT directly 2020-11-20 18:23:35 +00:00
fenv.h riscv: cleanup architecture macro checks 2021-09-01 18:04:59 +00:00
fnmatch.h fnmatch: Replace BSD implementation with musl one. 2020-07-03 15:09:33 -04:00
ftw.h libroot: Replace ftw/nftw implemenations with their musl counterparts. 2022-06-09 16:24:11 -04:00
getopt.h
glob.h headers: More removal of the BSD Advertising Clause. 2020-07-03 15:00:37 -04:00
grp.h
inttypes.h Remove __STDC_FORMAT/CONSTANT_MACROS 2017-06-04 17:29:29 +02:00
iovec.h
langinfo.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
libgen.h
libio.h posix: protect EOF being parsed as operator and 1 2021-01-25 18:53:43 +00:00
limits.h Fix definition of PAGESIZE and B_PAGE_SIZE 2021-01-08 12:02:16 +00:00
locale_t.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
locale.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
malloc_debug.h malloc_debug: Implement allocation dump on exit in guarded heap. 2015-04-10 17:04:28 +02:00
malloc.h Allow gcc to know result is aligned 2021-10-14 16:19:18 +00:00
math.h posix/math: Use the GCC built-ins when possible for isnan(), etc. 2020-01-06 07:44:30 +00:00
memory.h
monetary.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
netdb.h netdb.h: fix prototype of gethostbyaddr() 2020-08-17 00:08:02 +00:00
nl_types.h
null.h
poll.h POSIX: introduce ppoll 2021-06-19 18:09:25 +00:00
pthread.h POSIX: introduce pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock 2022-02-18 21:27:06 +00:00
pwd.h
regex.h
resolv.h resolv.h & netdb.h: Clean up and simplify. 2020-07-02 19:33:51 -04:00
sched.h
search.h libroot: Fix previous commit. 2021-09-17 15:35:51 -04:00
semaphore.h POSIX: introduce sem_clockwait 2022-02-18 21:27:06 +00:00
setjmp.h setjmp.h: add noreturn keyword on longjmp variants. 2018-07-21 12:27:27 +02:00
shadow.h
signal.h Revert "Add sys/ucontext.h" 2014-08-09 20:18:05 +02:00
size_t.h
spawn.h s/Haiku License/MIT License/g. 2019-08-30 18:16:02 -04:00
stdint.h Remove __STDC_FORMAT/CONSTANT_MACROS 2017-06-04 17:29:29 +02:00
stdio_ext.h
stdio_post.h
stdio_pre.h
stdio.h posix: protect EOF being parsed as operator and 1 2021-01-25 18:53:43 +00:00
stdlib.h stdlib.h: Remove guards around aligned_alloc. 2021-11-16 15:13:29 -05:00
string.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
strings.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
syslog.h syslog.h: add LOG_PRIMASK and LOG_PRI macros 2020-11-22 09:28:57 +00:00
tar.h
termios.h POSIX: add tcsetsid() 2020-11-17 07:53:28 +00:00
threads.h libroot: Add support for C11 threads (except gcc2). 2022-04-22 08:53:51 +00:00
time.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
uchar.h uchar.h: Remove duplicate definition of mbrtoc32. 2020-05-09 16:15:55 -04:00
unistd.h POSIX: ioctl(fd, op, arg) equals ioctl(fd, op, arg, 0) 2021-05-04 19:21:48 +00:00
utime.h
utmpx.h utmpx.h: add ut_host for compatibility (not posix) 2021-03-16 16:55:44 +00:00
wchar_t.h
wchar.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
wctype.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00