NFSSVC(2) 1990 NFSSVC(2) NNAAMMEE nfssvc - create a remote NFS server SSYYNNOOPPSSIISS nfssvc(sock) int sock; DDEESSCCRRIIPPTTIIOONN _N_f_s_s_v_c starts an NFS daemon listening on socket _s_o_c_k. The socket must be in the AF_INET family and of type SOCK_DGRAM . RREETTUURRNN VVAALLUUEE Normally this system calls does not return unless the server is terminated by a signal at which time a value of 0 is returned. Otherwise, -1 is returned and the global variable _e_r_r_n_o is set to indicate the error. EERRRROORRSS _N_f_s_s_v_c fails if one or more of the following are true: EBADF _f_d is not a valid open file descriptor. EPERM The caller is not the super-user. SSEEEE AALLSSOO _n_f_s_d(8) Printed 7/27/90 June 1