musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012年06月19日 22:22:16 -0400
committerRich Felker <dalias@aerifal.cx>2012年06月19日 22:22:16 -0400
commitca1773d8645672f6e67b10bc94aa5639b01a1ebe (patch)
tree376e944b3907acc3c4828f27bc3e6c381009b45f /src
parent914949d321448bd2189bdcbce794dbae2c8ed16e (diff)
downloadmusl-ca1773d8645672f6e67b10bc94aa5639b01a1ebe.tar.gz
fix dummied-out fdatasync
Diffstat (limited to 'src')
-rw-r--r--src/unistd/fdatasync.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/fdatasync.c b/src/unistd/fdatasync.c
index ef7c9a9d..dd4d41c7 100644
--- a/src/unistd/fdatasync.c
+++ b/src/unistd/fdatasync.c
@@ -3,5 +3,5 @@
int fdatasync(int fd)
{
- return 0;
+ return syscall(SYS_fdatasync, fd);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月06日 10:54:11 +0000

AltStyle によって変換されたページ (->オリジナル) /