BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
kfeof - check if a data transport stream is at EOF
LIBRARY CALL
int kfeof(
kfile *file)
INPUT
- file - the kfile pointer associated with the open stream
to the data transport, opened earlier with kfopen()
OUTPUT
none
RETURN VALUE
A non-zero value if EOF has been reached on the
specified data transport stream; otherwise, zero is
returned.
DESCRIPTION
This function is a replacement for the system "feof"
call; kfeof() supports all khoros data transport
mechanisms, not just Unix files.
This routines test to see if the data transport
pointer of a stream open for reading has reached
the end of file.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/kutils/src/kstdio.c
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.