From 37e63884f8cc9d460afea1f6a84f9e23f0d58281 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 2 Nov 1994 18:34:29 +0000 Subject: entered into RCS --- utils/sync.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 utils/sync.c (limited to 'utils/sync.c') diff --git a/utils/sync.c b/utils/sync.c new file mode 100644 index 00000000..f13bb51c --- /dev/null +++ b/utils/sync.c @@ -0,0 +1,27 @@ +/* Call sync synchronously. + Copyright (C) 1994 Free Software Foundation, Inc. + Written by Michael I. Bushnell. + + This file is part of the GNU Hurd. + + The GNU Hurd is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2, or (at + your option) any later version. + + The GNU Hurd 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 + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include + +main () +{ + __USEPORT (CRDIR, __file_syncfs (port, 1, 1)); + return 0; +} -- cgit v1.2.3