diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-11-02 18:34:29 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-11-02 18:34:29 +0000 |
commit | 37e63884f8cc9d460afea1f6a84f9e23f0d58281 (patch) | |
tree | 39a33305055cacb1b5b567c644bffe2b7d3c8f2f | |
parent | 135dd5bffcb583232d7854b1594873e058930ad4 (diff) |
entered into RCS
-rw-r--r-- | utils/sync.c | 27 |
1 files changed, 27 insertions, 0 deletions
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 <hurd.h> + +main () +{ + __USEPORT (CRDIR, __file_syncfs (port, 1, 1)); + return 0; +} |