getfh man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

getfh(2)							      getfh(2)

NAME
       getfh - Get a file handle

SYNOPSIS
       #include <sys/types.h> #include <sys/mount.h>

       int getfh(
	       int fd,
	       fhandle_t *fhp,
	       int exp_fd );

PARAMETERS
       Specifies  the file descriptor of the path to be exported.  Points to a
       fhandle_t structure.  Specifies the 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 root user.

RETURN VALUES
       Upon successful completion, a value of 0 (zero) is returned. Otherwise,
       -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
       descriptor.  The fhp parameter points to an invalid address.  The call‐
       ing process does not have appropriate privilege.	 The file system spec‐
       ified is not exportable.

								      getfh(2)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net