nfssvc(2)
Requires Optional NFS Services Software
NAME
nfssvc, async_daemon − NFS daemons
SYNOPSIS
int nfssvc(int sock);
void async_daemon();
DESCRIPTION
nfssvc starts an NFS daemon listening on the socket sock. The socket must be AF_INET and SOCK_DGRAM (protocol UDP/IP). The system call returns only if the process is killed.
async_daemon implements the NFS daemon that handles asynchronous I/O for an NFS client. The system call never returns.
ERRORS
nfssvc fails if one of the following conditions is true, and sets errno accordingly:
[EBADF] sock is not a valid socket descriptor.
[EINVAL] sock refers to a socket that is not an AF_INET and SOCK_DGRAM socket.
async_daemon fails if the following condition is true, and sets errno accordingly:
[ENOMEM] There are not enough resources to create the process.
WARNINGS
This call should be used only by HP-supplied commands and is not recommended for use by non-HP-supplied programs.
These two system calls allow kernel processes to have user context.
AUTHOR
nfssvc was developed by Sun Microsystems, Inc.
SEE ALSO
Hewlett-Packard Company — HP-UX Release 8.05: June 1991