BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
kputc - put a character onto the khoros transport
LIBRARY CALL
int kputc(
int character,
kfile *file)
INPUT
- character - the character to be written
- file - the kfile transport to be read which was
opened earlier with kfopen().
OUTPUT
none
RETURN VALUE
returns the character written or EOF upon error.
DESCRIPTION
This function is a replacement for the system "fputc()"
routine. The only difference is that kfputc() supports
more than just files, it supports other data transports
such as shared memory, pipes, files, etc.
The routine will put a single character onto the
specified transport. 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/include/kutils/kfile.h
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.