BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kfile_getmachtype - gets the machine architecture type for a file transport id

LIBRARY CALL

int kfile_getmachtype(
   int id)

INPUT

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.