diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2011-04-01 19:43:08 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2011-04-01 19:43:08 +0000 |
commit | c46d4a9b60ba79c321ab9075f71751389808a15a (patch) | |
tree | 604d02100f0216b1684cfb7f51d46663b25b10d3 /libc/misc/syncfs.c | |
parent | 5c8cf8f50bb4598c4ecf2aa860aa7bf0ef0c3df7 (diff) | |
download | eglibc2-c46d4a9b60ba79c321ab9075f71751389808a15a.tar.gz |
Merge changes between r13227 and r13354 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@13355 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/misc/syncfs.c')
-rw-r--r-- | libc/misc/syncfs.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libc/misc/syncfs.c b/libc/misc/syncfs.c new file mode 100644 index 000000000..bd7328cf8 --- /dev/null +++ b/libc/misc/syncfs.c @@ -0,0 +1,33 @@ +/* Copyright (C) 2011 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#include <errno.h> +#include <unistd.h> + +/* Make all changes done to all files on the file system associated + with FD actually appear on disk. */ +int +syncfs (int fd) +{ + __set_errno (ENOSYS); + return -1; +} + + +stub_warning (syncfs) +#include <stub-tag.h> |