aboutsummaryrefslogtreecommitdiff
path: root/bits
AgeCommit message (Collapse)AuthorFilesLines
2012-11-20Fix __bswap_64 return type in generic bits/byteswap.h.Joseph Myers1-5/+6
2012-10-01Get rid of unused __swblk_t type.Roland McGrath2-2/+0
2012-09-13Remove unused __rtld_lock_init_recursive macroH.J. Lu1-1/+0
2012-08-17Split sys/param.h out into common file and sysdeps bits/param.h file.Roland McGrath1-0/+33
2012-08-15Define __rtld_lock_initialize in stub bits/libc-lock.h file.Roland McGrath1-0/+1
2012-08-15Define O_DSYNC and O_RSYNC in generic/4.4 bits/fcntl.h file.Roland McGrath1-0/+4
2012-08-07Make the bsd4.4/bits/fcntl.h be the generic one.Roland McGrath1-11/+62
2012-08-07Make the bsd4.4/bits/dirent.h be the generic one.Roland McGrath1-7/+28
2012-08-06Clean up {alphasort,versionsort,scandir,scandirat}{,64} for struct dirent == ↵Roland McGrath2-1/+7
struct dirent64.
2012-08-06Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t.Roland McGrath1-0/+7
2012-07-30Fix lots of bitrot for stub configurations.Roland McGrath3-33/+51
2012-06-21Avoid -Wconversion warning for htonsAndreas Jaeger2-2/+3
2012-05-17Add __fsword_t and use it in bits/statfs.hH.J. Lu2-0/+4
2012-05-16Fold copyright yearsH.J. Lu2-4/+2
2012-05-15Remove __snseconds_tH.J. Lu2-4/+4
2012-05-15Add __syscall_slong_t and __syscall_ulong_tH.J. Lu2-0/+7
2012-05-10Hurd: Fix POSIX 2008 visibilitySamuel Thibault1-1/+3
2012-05-10Hurd: libc_once_getThomas Schwinge1-1/+4
2012-05-10Hurd: Add SOL_IP, SOL_IPV6, SOL_ICMPV6Samuel Thibault1-0/+7
2012-05-10Hurd: Add more ipv6 macros.Samuel Thibault1-4/+5
2012-04-11Add __snseconds_t and __SNSECONDS_T_TYPEH.J. Lu2-0/+2
2012-04-06Use __builtin_bswap32/64 in __bswap_32/64 for GCC >= 4.2H.J. Lu1-3/+21
2012-04-06Add byteswap-16.h for __bswap_16H.J. Lu2-11/+35
2012-04-03Add __bswap_64 definition for non GCC compilers.Andreas Jaeger1-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.
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert58-175/+116
2012-01-07Remove pre-ISO C supportUlrich Drepper4-13/+13
No more __const.
2011-12-23Prevent warnings due to long long constantsUlrich Drepper1-10/+11
2011-11-02Fix _IOT_sgttyb definition.Samuel Thibault1-2/+2
2011-09-13Avoid macro clash between <sys/select.h> and <linux/posix_types.h>Andreas Schwab1-3/+4
2011-09-10Remove support for !USE___THREADUlrich Drepper1-16/+7
2011-07-18Fix typos in pretty much unused code in sched.h header.Ulrich Drepper1-2/+2
2011-02-07Synchronize generic bits/sched.h cpu_set_t with Linux implementation.Samuel Thibault1-15/+72
2011-01-09Clean up some bits/select.h headers.Ulrich Drepper1-4/+6
2010-10-19Provide FP_FAST_FMA{,F,L} definitions for x86/x86-64.Ulrich Drepper1-1/+1
2010-10-19Add C99 FP_FAST_FMA{,F,L} macros to math.hMichael Meissner1-0/+14
2010-09-01Fix generic bits/sched.h for #define __need_schedparam uses.Samuel Thibault1-0/+15
2010-03-25Add support for new clocks.Ulrich Drepper1-1/+7
Recent Linux kernels added support for the CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE clocks.
2010-01-14Make unistd.h pre-c((-safe.Ulrich Drepper1-1/+1
2010-01-11Fix compile error.Ulrich Drepper1-2/+2
2010-01-09Add support for XPG7 testing.Ulrich Drepper1-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.
2009-12-15Update poll.h header for POSIX 2008.Ulrich Drepper1-3/+3
2009-09-27Fix IXANY feature macro conditions.Samuel Thibault1-1/+3
2009-02-26* wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper1-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.
2009-02-25Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, ↵Ulrich Drepper1-0/+15
_SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS.
2009-02-07[BZ #7095]Ulrich Drepper2-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-032009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath1-0/+3
* bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
2008-11-07* bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, Jakub Jelinek1-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-212008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath1-1/+3
* bits/termios.h (ONLCR): Define under [__USE_XOPEN] too.
2008-05-15[BZ #6442]Ulrich Drepper1-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.
2008-05-052007-09-14 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath1-6/+88
Fix termios bit macros. Move *DLY definitions where they belong, in termios.h. Add *[0-3] definitions. Fixes confusion between VT and FF. * bits/ioctls.h (NL0, NL1, TAB0, TAB1, TAB2, CR0, CR1, CR2, CR3, FF0, FF1, BS0, BS1): Undefine these at start if they are already defined to avoid collision with termios.h. (NLDLY, TABDLY, TAB3, CRDLY, VTDLY, BSDLY): Remove macros. * bits/termios.h [__USE_MISC || __USE_XOPEN] (NL0, NL1, TAB0, TAB1, TAB2, CR0, CR1, CR2, CR3, FF0, FF1, BS0, BS1): Likewise. [__USE_BSD || __USE_XOPEN] (OCRNL, ONOCR, ONLRET): New macros. [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, TABDLY, TAB0, TAB1, TAB2, TAB3, CRDLY, CR0, CR1, CR2, CR3, FFDLY, FF0, FF1, BSDLY, BS0, BS1, VTDLY, VT0, VT1): New macros. [__USE_GNU] (OLCUC): Change value of macro. [__USE_XOPEN] (OFILL): New macro. [__USE_BSD] (CRTSCTS): Change value. (CRTS_IFLOW, CCTS_OFLOW): Change into compatibility macros. [__USE_BSD] (CDTRCTS, CHWFLOW): New macros. (B7200, B14400, B28800, B76800): New macros.