BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
kclearerr - clear the EOF/error flags of a data transport stream
LIBRARY CALL
void kclearerr(
kfile *file)
INPUT
- file - the kfile pointer associated with the open stream
to the data transport, opened earlier with kfopen()
OUTPUT
none
RETURN VALUE
none
DESCRIPTION
This function is a replacement for the system "clearerr"
call; kclearerr() supports all khoros data transport
mechanisms, not just Unix files.
The function resets the EOF and error flags for the
data transport stream specified. Note that these flags
are cleared originally when the data transport is
opened, or when the data transport stream is re-wound
using krewind(). The EOF flag is also cleared by calls
to kfseek().
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.