BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
kfputs - put a string onto the data transport stream
LIBRARY CALL
int kfputs(
const char *buffer,
kfile *file)
INPUT
- buffer - the string to be written
- file - the kfile pointer associated with the open stream
to the data transport, opened earlier with kfopen().
OUTPUT
none
RETURN VALUE
The number of characters written on success,
EOF if an error is encountered.
DESCRIPTION
This function is a replacement for the system "fputs"
call; kfputs() supports all khoros data transport
mechanisms, not just Unix files.
The routine will write a NULL-terminated string to the data
transport output stream. If the string could not be
written, EOF is returned; otherwise, the number of
characters that were written are 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.