LM_USERNAME(3)

NAME
lm_username, lm_hostname, lm_display - return info about this user

SYNOPSIS
char *lm_username(flag)
int flag;

char *lm_hostname(flag)
int flag;

char *lm_display(flag)
int flag;

DESCRIPTION
lm_username() returns the user name. lm_hostname() returns the host name. lm_display() returns the display name.

If the flag argument is 0, these functions return the host system's idea of that value; if not 0, they return FLEXlm's idea of that value.

RETURN VALUE
lm_username(), lm_hostname(), and lm_display(), each return a pointer to a null-terminated array of characters. These strings are the property of the FLEXlm routines, and must not be modified by the caller.