BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
kfputc - put a character onto the data transport stream
LIBRARY CALL
int kfputc(
int character,
kfile *file)
INPUT
- character - the character to be written
- file - the kfile pointer associated with the open
stream to the data transport
OUTPUT
none
RETURN VALUE
The character written on success; EOF on failure
DESCRIPTION
This function is a replacement for the system "fputc"
call; kfputc() supports all khoros data transport
mechanisms, not just Unix files.
The routine will write a single character to the
data transport stream. If the character could not be
written, EOF is returned; otherwise, the character
that is written is returned.
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.