summaryrefslogtreecommitdiffstats
path: root/support/nfs/lockdsvc.c
blob: ca1e862a3de561d67c88157872b1146b2cce6b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * support/nfs/nfssvc.c
 *
 * Run an NFS daemon.
 *
 * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <nfslib.h>

int
lockdsvc()
{
	struct nfsctl_arg	arg;

	arg.ca_version = NFSCTL_VERSION;
	return nfsctl(LOCKDCTL_SVC, &arg, NULL);
}