Utility Functions and C Language Reference > Utility Functions: Java (lr.) > Alphabetical Listing > lr_get_host_name

lr_get_host_name

Returns the name of the host.

C Language

char *lr_get_host_name( ); 
Example: lr_get_host_name Informational Functions

Java Language

String lr.get_host_name( ); 
Example: lr.get_host_name Informational Functions Java Syntax

The lr_get_host_name function returns the name of the machine executing the script.

Return Values

This function returns the name of the host if the operation is successful and NULL if the operation fails. The return value is a pointer to static data and should only be read, not altered.

Parameterization

You cannot use standard parameterization for any arguments in this function.