IBM

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)

Parameters:
*file The relative or absolute path name for the file server.
Data Structures:
none
Define Statements:
none
Returns:
char *:Returns the host where a file system is mounted.
Function was successful.

NULL
Function failed.

Errors:
Systems that conform to the Single UNIX specification are not required to d etect error conditions for this function.
Equivalent line commands:
none
Files:
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.