glibc/sysdeps/mach/hurd/i386
Joseph Myers e5ac7bd679 Add C2X timespec_getres
ISO C2X adds a timespec_getres function alongside the C11
timespec_get, with functionality similar to that of POSIX clock_getres
(including allowing a NULL pointer to be passed to the function).
Implement this function for glibc, similarly to the implementation of
timespec_get.

This includes a basic test like that of timespec_get, but no
documentation in the manual, given that TIME_UTC and timespec_get
aren't documented in the manual at all.  The handling of 64-bit time
follows that in timespec_get; people maintaining patch series for
64-bit time will need to update them accordingly (to export
__timespec_getres64, redirect calls in time.h and run the test for
_TIME_BITS=64).

Tested for x86_64 and x86, and (previous version; only testcase
differs) with build-many-glibcs.py.
2021-05-17 20:55:21 +00:00
..
bits Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
htl Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
i686/multiarch Hurd: Add rtld-strncpy-c.c 2021-01-19 04:32:44 -08:00
sys Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
____longjmp_chk.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
__longjmp.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
c++-types.data hurd: Add c++-types expected result 2016-03-20 22:16:34 +01:00
dl-machine.h Update. 2000-04-03 18:20:23 +00:00
exc2signal.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getcontext.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Implies hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
init-first.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
intr-msg.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ioperm.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
jmp_buf-macros.h hurd: Add jmp_buf-macros.h 2018-01-06 02:32:55 +01:00
ld.abilist <sys/platform/x86.h>: Remove the C preprocessor magic 2021-01-21 05:58:17 -08:00
libanl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libBrokenLocale.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libc.abilist Add C2X timespec_getres 2021-05-17 20:55:21 +00:00
libcrypt.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libdl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libm.abilist Move __isnanf128 to libc.so 2021-03-30 14:58:19 +05:30
libnsl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libpthread.abilist htl: Initialize later 2020-11-11 20:41:25 +00:00
libresolv.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
librt.abilist Finish move of clock_* functions to libc. [BZ #24959] 2019-09-04 14:39:38 +02:00
libutil.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
localplt.data hurd: Move {,f,l}xstat{,at} and xmknod{at} to compat symbols 2020-11-11 23:56:56 +00:00
longjmp-ts.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
makecontext.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Makefile htl: Get sem_open/sem_close/sem_unlink support [BZ #25524] 2020-12-16 14:27:25 +01:00
setcontext.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
signal-defines.sym Fix struct sigaltstack namespace (bug 21517). 2017-06-05 10:17:46 +00:00
sigreturn.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
static-start.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
swapcontext.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tls.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tlsdesc.sym hurd: Add tlsdesc.sym 2018-01-30 00:52:48 +01:00
trampoline.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ucontext_i.sym hurd: Add getcontext, makecontext, setcontext, swapcontext 2019-12-29 16:54:08 +01:00
Versions * hurd/hurdselect.c (_hurd_select): Fix 2002-04-02 04:43:06 +00:00
vm_param.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00