blob: f13a1e64f7cfe829d26de89b7a6bd070a8f17360 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* vi: set sw=4 ts=4: */
/*
* fsync() for uClibc
*
* Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <sys/syscall.h>
#include <unistd.h>
#include <cancel.h>
#define __NR___fsync_nocancel __NR_fsync
static _syscall1(int, __NC(fsync), int, fd)
CANCELLABLE_SYSCALL(int, fsync, (int fd), (fd))
|