BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
kinput - opens a file for reading using kopen()
LIBRARY CALL
int kinput(
char *filename)
INPUT
- filename - the filename to be opened for reading using
the kopen().
OUTPUT
none
RETURN VALUE
returns the kfile id on success, -1 otherwise
DESCRIPTION
This function is just a simplified interface to kopen()
that opens a file for reading. The macros calls
kopen using the following syntax:
kopen(filename, KOPEN_RDONLY, 0666)
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/include/kutils/kfile.h
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.