diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-12-28 11:38:33 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-12-28 12:04:49 -0800 |
commit | 0f42dafa9e0a8dab8d6f97dd70967cb3d8a922da (patch) | |
tree | 94a00ffea76a4a8332d53cebe4fd3af51b56899c /doc | |
parent | 1793603398ab356d73898d75d5669e2378179170 (diff) | |
download | gnulib-0f42dafa9e0a8dab8d6f97dd70967cb3d8a922da.tar.gz |
gettime-res: new module
* lib/gettime-res.c, modules/gettime-res: New files.
* lib/timespec.h (gettime_res): New decl.
* m4/clock_time.m4 (gl_CLOCK_TIME): Also check for clock_getres.
* m4/gettime.m4 (gl_GETTIME_RES): New macro.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/posix-functions/clock_getres.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/posix-functions/clock_getres.texi b/doc/posix-functions/clock_getres.texi index 09536ff3b5..1381c4649c 100644 --- a/doc/posix-functions/clock_getres.texi +++ b/doc/posix-functions/clock_getres.texi @@ -16,3 +16,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: Mac OS X 10.11, Minix 3.1.8, mingw, MSVC 14. @end itemize + +The Gnulib module @code{gettime-res} is a partial substitute; it implements +the @code{CLOCK_REALTIME} functionality of @code{clock_getres}. |