Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

ls_getmyhostname2()

New. Returns the name used throughout LSF to represent the local host.

DESCRIPTION

ls_getmyhostname2() returns the name used throughout LSF to represent the local host.

This function supports the use of both IPv4 and IPv6 protocols. Call this function rather than ls_getmyhostname().

This routine returns a pointer to static data which can be overwritten by subsequent calls.

SYNOPSIS

#include <lsf/lsf.h> 
char *ls_getmyhostname2(void) 

RETURN VALUES

character:hostname

Function was successful.

character:NULL

Function failed.

ERRORS

Systems that conform to the Single UNIX specification are not required to detect error conditions for this function. - Error handling

SEE ALSO

Related APIs

ls_getmyhostname

Equivalent line command

none

Files

none


Platform Computing Inc.
www.platform.com
Knowledge Center         Contents    Previous  Next