ls_getmnthost
Returns the name of the file server containing a specific file.ls_getmnthost returns the name of the file server that exports the file system containing file, where file is a relative or absolute path name. For remote files, use ls_rgetmnthost instead.
#include <lsf/lsf.h>
char *ls_getmnthost(char *file)
Data Structures:
- Parameters:
*file The relative or absolute path name for the file server. Define Statements:
- none
- none
Errors:
- Returns:
- char *:Returns the host where a file system is mounted.
Function was successful.NULL
Function failed.Equivalent line commands:
- Systems that conform to the Single UNIX specification are not required to d etect error conditions for this function.
Files:
- none
- none
- See also:
- ls_rgetmnthost
Date Modified: 16 Jul 2014
Terms of Use
Copyright © 1994-2014 International Business Machines Corp.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.