nfssvc(2) DG/UX 5.4.2 nfssvc(2)
NAME
nfssvc - start an NFS server on a specified socket
SYNOPSIS
int nfssvc (socket)
int socket;
where:
socket Socket to listen to requests on
DESCRIPTION
An NFS server (daemon) is started on the socket identified by socket.
socket is the descriptor obtained from a socket(2) system call. The
socket must be AF_INET, and SOCK_DGRAM (protocol UDP/IP). This
system call does not normally return.
ACCESS CONTROL
None.
RETURN VALUE
-1 An error occurred. errno is set to indicate the error.
DIAGNOSTICS
Errno may be set to one of the following error codes:
EBADF The descriptor identified by socket is out of range,
or the descriptor is not active.
EINVAL The socket identified by socket does not specify a
socket object.
EINTR The process was terminated by a signal.
EOPNOTSUPP Kernel support for NFS is not present.
SEE ALSO
socket(2).
Licensed material--property of copyright holder(s) 1