summaryrefslogtreecommitdiff
path: root/modules/nanosleep
blob: 270bfd46d3e56eb04e74df6c881f86f6c630cf34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Description:
nanosleep() function: pause execution for a specified time.

Files:
lib/nanosleep.c
m4/nanosleep.m4

Depends-on:
time-h
extensions
multiarch
assert-h        [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
intprops        [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
pselect         [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
stdbool         [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
sys_select      [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]

configure.ac:
gl_FUNC_NANOSLEEP
gl_CONDITIONAL([GL_COND_OBJ_NANOSLEEP],
               [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1])
gl_TIME_MODULE_INDICATOR([nanosleep])

Makefile.am:
if GL_COND_OBJ_NANOSLEEP
lib_SOURCES += nanosleep.c
endif

Include:
<time.h>

Link:
$(NANOSLEEP_LIB)

License:
LGPLv2+

Maintainer:
Jim Meyering