HPUX async_daemo[2]






 nfssvc(2)                                                         nfssvc(2)





 NAME
      nfssvc, async_daemon - NFS daemons

 SYNOPSIS
      int nfssvc(int sock);

      void async_daemon();

 DESCRIPTION
      nfssvc() starts an NFS daemon listening on 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 any of the following conditions is encountered, 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 encountered, 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
      mountd(1M), nfsd(1M).












 Hewlett-Packard Company            - 1 -     HP-UX Release 9.0: August 1992