kfile_type - return the type flag field used when opening the transport with kfopen()
LIBRARY CALL
char *kfile_type(
kfile *file)
INPUT
file - the kfile transport returned earlier by kfopen()
OUTPUT
none
RETURN VALUE
The type associated with the kfile transport on success,
or NULL upon failure
DESCRIPTION
This routine returns the type field associated with
a khoros transport. This is the type fields used
originally when opening the transport with kfopen().
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
the type field returned is the internal copy of the
kfile transport. This means that you should not
modify or free the string.
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/kutils/src/kfile.c
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.