nfsservctl(2) System Calls Manual nfsservctl(2) nfsservctl - nfs (libc -lc) #include long nfsservctl(int cmd, struct nfsctl_arg *argp, union nfsctl_res *resp); : 3.1 . nfsd nfsd(7). /* * nfsctl(). */ #define NFSCTL_SVC 0 /* . */ #define NFSCTL_ADDCLIENT 1 /* NFS. */ #define NFSCTL_DELCLIENT 2 /* NFS. */ #define NFSCTL_EXPORT 3 /* . */ #define NFSCTL_UNEXPORT 4 /* . */ #define NFSCTL_UGIDUPDATE 5 /* UID/GID ( 2.4.x ). */ #define NFSCTL_GETFH 6 /* ( mountd(8)) ( 2.4.x ). */ struct nfsctl_arg { int ca_version; /* */ union { struct nfsctl_svc u_svc; struct nfsctl_client u_client; struct nfsctl_export u_export; struct nfsctl_uidmap u_umap; struct nfsctl_fhparm u_getfh; unsigned int u_debug; } u; } union nfsctl_res { struct knfs_fh cr_getfh; unsigned int cr_debug; }; . -1 errno . . 3.1. glibc 2.28. nfsd(7) 3 . . : . 6.18 21 2025 nfsservctl(2)