BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kgethostname - get the current hostname

LIBRARY CALL

int kgethostname(
   char   *hostname,
   int     namelen)

INPUT

OUTPUT

RETURN VALUE

0 on success, and -1 on failure

DESCRIPTION

This routine is the same as the system gethostname() call except that it will get the hostname depending on the machine name is specified.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/ktransport.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.