From 92c56e129bae6dd054c89a6077009e25da5b7e29 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 1 Nov 2013 01:56:33 +0000 Subject: [cmdline] Rewrite "sync" command to use monojob_wait() Signed-off-by: Michael Brown --- src/include/usr/sync.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/include/usr/sync.h (limited to 'src/include/usr') diff --git a/src/include/usr/sync.h b/src/include/usr/sync.h new file mode 100644 index 000000000..0047d4ed9 --- /dev/null +++ b/src/include/usr/sync.h @@ -0,0 +1,14 @@ +#ifndef _USR_SYNC_H +#define _USR_SYNC_H + +/** @file + * + * Wait for pending operations to complete + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +extern int sync ( unsigned long timeout ); + +#endif /* _USR_SYNC_H */ -- cgit v1.2.3-55-g7522