Branch
Hash :
2a99a564
Author :
Date :
2024-12-27T23:41:53
Rename module unistd to unistd-h. * modules/unistd-h: Renamed from modules/unistd. * modules/unistd-h-tests: Renamed from modules/unistd-tests. * modules/unistd-h-c++-tests: Renamed from modules/unistd-c++-tests. * tests/test-unistd-h.c: Renamed from tests/test-unistd.c. * tests/test-unistd-h-c++.cc: Renamed from tests/test-unistd-c++.cc. * doc/posix-headers/unistd.texi: Update. * doc/posix-functions/_exit.texi: Update. * modules/* (Depends-on): Update. * modules/unistd: New file.
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-h
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