Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nfssvc(2) — BSD/386 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nfsd(8)

NFSSVC(2)                   BSD Programmer's Manual                  NFSSVC(2)

NAME
     nfssvc - create a remote NFS server

SYNOPSIS
     #include <unistd.h>

     int
     nfssvc(int sock)

DESCRIPTION
     The calling sequence of this function is expected to change  Nfssvc()
     starts an NFS daemon listening on socket sock. The socket must be in the
     AF_INET family.

RETURN VALUES
     Normally nfssvc does not return unless the server is terminated by a sig-
     nal at which time a value of 0 is returned.  Otherwise, -1 is returned
     and the global variable errno is set to indicate the error.

ERRORS
     Nfssvc() fails if:

     [EBADF]  Fd is not a valid open file descriptor.

     [EPERM]  The caller is not the super-user.

SEE ALSO
     nfsd(8)

HISTORY
     The nfssvc function call is currently under development.

BSDI BSD/386                    March 26, 1993                               1































Typewritten Software • bear@typewritten.org • Edmonds, WA 98026