summaryrefslogtreecommitdiff
path: root/modules/fdatasync
blob: 4d13a97cdb53a0b4cf80a402e59d3cbeda00558c (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
Description:
fdatasync(2) function: synchronize writes to a file.

Files:
lib/fdatasync.c
m4/fdatasync.m4

Depends-on:
fsync         [test $HAVE_FDATASYNC = 0 || test $REPLACE_FDATASYNC = 1]
unistd

configure.ac:
gl_FUNC_FDATASYNC
gl_CONDITIONAL([GL_COND_OBJ_FDATASYNC], [test $HAVE_FDATASYNC = 0 || test $REPLACE_FDATASYNC = 1])
gl_UNISTD_MODULE_INDICATOR([fdatasync])

Makefile.am:
if GL_COND_OBJ_FDATASYNC
lib_SOURCES += fdatasync.c
endif

Include:
<unistd.h>

Link:
$(FDATASYNC_LIB)

License:
LGPLv2+

Maintainer:
Eric Blake