1 /* vi: set sw=4 ts=4: */
3 * fdatasync() for uClibc
5 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
7 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
10 #include <sys/syscall.h>
12 #if !defined __NR_fdatasync && defined __NR_osf_fdatasync
13 # define __NR_fdatasync __NR_osf_fdatasync
20 # define __NR___fdatasync_nocancel __NR_fdatasync
21 static _syscall1(int, __NC(fdatasync), int, fd)
23 CANCELLABLE_SYSCALL(int, fdatasync, (int fd), (fd))