Query: getfh
OS: osf1
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
getfh(2) System Calls Manual getfh(2)NAMEgetfh - Gets a file handleSYNOPSIS#include <sys/types.h> #include <sys/mount.h> getfh( int fd; fhandle_t *fhp ); int exp_fd );PARAMETERSFile 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.DESCRIPTIONThe 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 root user.RETURN VALUESUpon successful completion, a value of 0 (zero) is returned. Otherwise, -1 is returned and errno is set to indicate the error.ERRORSIf 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 descriptor. 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)
| Related Man Pages |
|---|
| getfh(2) - mojave |
| fhstatfs(2) - freebsd |
| getfh(2) - debian |
| getfh(2) - netbsd |
| fhstat(2) - freebsd |
| Similar Topics in the Unix Linux Community |
|---|
| NFS with a NAS: permanently inconsistent directory state across clients |
| NFSd problem |