summaryrefslogtreecommitdiffstats
path: root/support/nfs/lockdsvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/nfs/lockdsvc.c')
-rw-r--r--support/nfs/lockdsvc.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/support/nfs/lockdsvc.c b/support/nfs/lockdsvc.c
new file mode 100644
index 0000000..532e721
--- /dev/null
+++ b/support/nfs/lockdsvc.c
@@ -0,0 +1,20 @@
+/*
+ * support/nfs/nfssvc.c
+ *
+ * Run an NFS daemon.
+ *
+ * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
+ */
+
+#include "config.h"
+
+#include "nfslib.h"
+
+int
+lockdsvc()
+{
+ struct nfsctl_arg arg;
+
+ arg.ca_version = NFSCTL_VERSION;
+ return nfsctl(LOCKDCTL_SVC, &arg, NULL);
+}