kfile_getmachtype - gets the machine architecture type for a file transport id
LIBRARY CALL
int kfile_getmachtype(
int id)
INPUT
id - the file id to be retrieve the machtype, which was opened
earlier with kopen().
OUTPUT
none
RETURN VALUE
the machine type on success, -1 otherwise
DESCRIPTION
This function returns the machine architecture type
for a particular file id. The machine type is used
in conjunction with the kread_XXXX & kwrite_XXXX routines
which provide data conversion for data independence.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
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.