*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: getfh | Section: 2 | Source: Digital UNIX | File: getfh.2.gz
getfh(2) System Calls Manual getfh(2) NAME getfh - Gets a file handle SYNOPSIS #include <sys/types.h> #include <sys/mount.h> getfh( int fd; fhandle_t *fhp ); int exp_fd ); PARAMETERS File descriptor of the path to be exported. Points to a fhandle_t structure. File descriptor of the exported path to use when applying export options. DESCRIPTION The getfh() function returns a file handle for the specified file or directory in the file handle pointed to by the fhp parameter. This function is restricted to the superuser. RETURN VALUES Upon successful completion, a value of 0 (zero) is returned. Other- wise, -1 is returned and errno is set to indicate the error. ERRORS If the getfh() function fails, errno may be set to one of the following values: One of the file descriptor parameters is not a valid file de- scriptor. The fhp parameter points to an invalid address. The calling process does not have appropriate privilege. The file system specified is not exportable. delim off getfh(2)

Navigation Options