about summary refs log tree commit diff
path: root/bits
Commit message (Collapse)AuthorAgeFilesLines
* byteswap.h: fix gcc ver test for __builtin_bswap{32,64}Mike Frysinger2012-12-031-2/+2
| | | | | | | | | | | | | | | The __builtin_bswap* functions were introduced in gcc-4.3, not gcc-4.2. Fix the __GNUC_PREREQ tests to reflect this. Otherwise trying to compile code with gcc-4.2 falls down: In file included from /usr/include/endian.h:60, from /usr/include/ctype.h:40, /usr/include/bits/byteswap.h: In function 'unsigned int __bswap_32(unsigned int)': /usr/include/bits/byteswap.h:46: error: '__builtin_bswap32' was not declared in this scope /usr/include/bits/byteswap.h: In function 'long long unsigned int __bswap_64(long long unsigned int)': /usr/include/bits/byteswap.h:110: error: '__builtin_bswap64' was not declared in this scope Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix __bswap_64 return type in generic bits/byteswap.h.Joseph Myers2012-11-201-5/+6
|
* Get rid of unused __swblk_t type.Roland McGrath2012-10-012-2/+0
|
* Remove unused __rtld_lock_init_recursive macroH.J. Lu2012-09-131-1/+0
|
* Split sys/param.h out into common file and sysdeps bits/param.h file.Roland McGrath2012-08-171-0/+33
|
* Define __rtld_lock_initialize in stub bits/libc-lock.h file.Roland McGrath2012-08-151-0/+1
|
* Define O_DSYNC and O_RSYNC in generic/4.4 bits/fcntl.h file.Roland McGrath2012-08-151-0/+4
|
* Make the bsd4.4/bits/fcntl.h be the generic one.Roland McGrath2012-08-071-11/+62
|
* Make the bsd4.4/bits/dirent.h be the generic one.Roland McGrath2012-08-071-7/+28
|
* Clean up {alphasort,versionsort,scandir,scandirat}{,64} for struct dirent == ↵Roland McGrath2012-08-062-1/+7
| | | | struct dirent64.
* Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t.Roland McGrath2012-08-061-0/+7
|
* Fix lots of bitrot for stub configurations.Roland McGrath2012-07-303-33/+51
|
* Avoid -Wconversion warning for htonsAndreas Jaeger2012-06-212-2/+3
|
* Add __fsword_t and use it in bits/statfs.hH.J. Lu2012-05-172-0/+4
|
* Fold copyright yearsH.J. Lu2012-05-162-4/+2
|
* Remove __snseconds_tH.J. Lu2012-05-152-4/+4
|
* Add __syscall_slong_t and __syscall_ulong_tH.J. Lu2012-05-152-0/+7
|
* Hurd: Fix POSIX 2008 visibilitySamuel Thibault2012-05-101-1/+3
|
* Hurd: libc_once_getThomas Schwinge2012-05-101-1/+4
|
* Hurd: Add SOL_IP, SOL_IPV6, SOL_ICMPV6Samuel Thibault2012-05-101-0/+7
|
* Hurd: Add more ipv6 macros.Samuel Thibault2012-05-101-4/+5
|
* Add __snseconds_t and __SNSECONDS_T_TYPEH.J. Lu2012-04-112-0/+2
|
* Use __builtin_bswap32/64 in __bswap_32/64 for GCC >= 4.2H.J. Lu2012-04-061-3/+21
|
* Add byteswap-16.h for __bswap_16H.J. Lu2012-04-062-11/+35
|
* Add __bswap_64 definition for non GCC compilers.Andreas Jaeger2012-04-031-2/+17
| | | | | | | | | [BZ#13926] Currently __bswap_64 is not defined at all for non-GCC compilers. Define it but guard it with __GLIBC_HAVE_LONG_LONG. endian.h uses __bswap_64, make the functions only available if __GLIBC_HAVE_LONG_LONG is defined.
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0958-175/+116
|
* Remove pre-ISO C supportUlrich Drepper2012-01-074-13/+13
| | | | No more __const.
* Prevent warnings due to long long constantsUlrich Drepper2011-12-231-10/+11
|
* Fix _IOT_sgttyb definition.Samuel Thibault2011-11-021-2/+2
|
* Avoid macro clash between <sys/select.h> and <linux/posix_types.h>Andreas Schwab2011-09-131-3/+4
|
* Remove support for !USE___THREADUlrich Drepper2011-09-101-16/+7
|
* Fix typos in pretty much unused code in sched.h header.Ulrich Drepper2011-07-181-2/+2
|
* Synchronize generic bits/sched.h cpu_set_t with Linux implementation.Samuel Thibault2011-02-071-15/+72
|
* Clean up some bits/select.h headers.Ulrich Drepper2011-01-091-4/+6
|
* Provide FP_FAST_FMA{,F,L} definitions for x86/x86-64.Ulrich Drepper2010-10-191-1/+1
|
* Add C99 FP_FAST_FMA{,F,L} macros to math.hMichael Meissner2010-10-191-0/+14
|
* Fix generic bits/sched.h for #define __need_schedparam uses.Samuel Thibault2010-09-011-0/+15
|
* Add support for new clocks.Ulrich Drepper2010-03-251-1/+7
| | | | | Recent Linux kernels added support for the CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE clocks.
* Make unistd.h pre-c((-safe.Ulrich Drepper2010-01-141-1/+1
|
* Fix compile error.Ulrich Drepper2010-01-111-2/+2
|
* Add support for XPG7 testing.Ulrich Drepper2010-01-091-1/+6
| | | | | The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
* Update poll.h header for POSIX 2008.Ulrich Drepper2009-12-151-3/+3
|
* Fix IXANY feature macro conditions.Samuel Thibault2009-09-271-1/+3
|
* * wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper2009-02-261-0/+5
| | | | | | | | | | | | | | | | | | | | * wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from 200112L to 200809L. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT entries. * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT. * posix/unistd.h: fexecve is in POSIX 2008. * time/time.h: strftime_l is in POSIX 2008. * io/sys/stat.h: futimens is in POSIX 2008. * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. * stdlib/stdlib.h: mkdtemp is in POSIX 2008.
* Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, ↵Ulrich Drepper2009-02-251-0/+15
| | | | _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS.
* [BZ #7095]Ulrich Drepper2009-02-072-12/+72
| | | | | | | | | | | | | | | | | | 2009-02-06 Ulrich Drepper <drepper@redhat.com> [BZ #7095] * bits/confname.h: Add SUSv7 macros for getconf environments. * bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise. * posix/confstr.c: Handle SUSv5 and SUSv7 environments. * posix/getconf.c: Likewise. * posix/sysconf.c: Likewise. * sysdeps/posix/sysconf.c: Likewise. * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7 environments.
* 2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath2009-01-031-0/+3
| | | | * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
* * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, Jakub Jelinek2008-11-071-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust __libc_tsd_address arguments. Remove union hack. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. * sunrpc/rpc_thread.c (RPC_VARS): Likewise. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): Adjust __libc_tsd_{set,get} arguments. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} arguments. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. (LOCALE): Adjust __libc_tsd_define arguments. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get arguments. (LOCALE): Adjust __libc_tsd_define arguments. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. nptl/ * sysdeps/pthread/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. 2008-11-07 Jakub Jelinek <jakub@redhat.com> * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust __libc_tsd_address arguments. Remove union hack. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. * sunrpc/rpc_thread.c (RPC_VARS): Likewise. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): Adjust __libc_tsd_{set,get} arguments. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} arguments. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. (LOCALE): Adjust __libc_tsd_define arguments. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get arguments. (LOCALE): Adjust __libc_tsd_define arguments. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments.
* 2008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath2008-05-211-1/+3
| | | | * bits/termios.h (ONLCR): Define under [__USE_XOPEN] too.
* [BZ #6442]Ulrich Drepper2008-05-151-2/+2
| | | | | | | | | | | * string/endian.h: Add macros for fixed-size endian conversion. * bits/byteswap.h: Allow inclusion from <endian.h>. * sysdeps/i386/bits/byteswap.h: Likewise. * sysdeps/ia64/bits/byteswap.h: Likewise. * sysdeps/s390/bits/byteswap.h: Likewise. * sysdeps/x86_64/bits/byteswap.h: Likewise. * string/Makefile (tests): Add tst-endian. * string/tst-endian.c: New file.