1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Files
gnulib/modules/xnanosleep
Paul Eggert 1f079339ab xnanosleep: Rewrite to use new dtotimespec module.
It has the conversion code that used to be in xnanosleep.
* lib/xnanosleep.c: Do not include limits.h, stdbool.h, stdio.h,
assert.h, sys/types.h, or intprops.h.  Include timespec.h instead.
(TIME_T_MAX): Remove.
(xnanosleep): Rewrite in terms of dtotimespec.
* modules/xnanosleep (Depends-on): Add dtotimespec.
Remove intprops, stdbool.
2011-06-30 15:24:37 -07:00

31 lines
326 B
Plaintext

Description:
a more convenient interface to nanosleep
Files:
lib/xnanosleep.h
lib/xnanosleep.c
m4/xnanosleep.m4
Depends-on:
dtotimespec
nanosleep
time
configure.ac:
gl_XNANOSLEEP
Makefile.am:
lib_SOURCES += xnanosleep.c
Include:
"xnanosleep.h"
Link:
$(LIB_NANOSLEEP)
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering