]> git.decadent.org.uk Git - nfs-utils.git/blob - support/nfs/nfsctl.c
2000-05-31 H.J. Lu <hjl@lucon.org>
[nfs-utils.git] / support / nfs / nfsctl.c
1 /*
2  * support/nfs/nfsctl.c
3  *
4  * Central syscall to the nfsd kernel module.
5  *
6  * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
7  */
8
9 #include "config.h"
10
11 #include <unistd.h>
12 #include <asm/unistd.h>
13 #include "nfslib.h"
14
15 /* compatibility hack... */
16 #ifndef __NR_nfsctl
17 #define __NR_nfsctl     __NR_nfsservctl
18 #endif
19
20 int
21 nfsctl (int cmd, struct nfsctl_arg * argp, union nfsctl_res * resp)
22 {
23   return syscall (__NR_nfsctl, cmd, argp, resp);
24 }