BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

ksetvbuf - set the I/O buffer of a data transport stream

LIBRARY CALL

void ksetvbuf(
   kfile  *file,
   char   *buf,
   int     mode,
   size_t bufsiz)

INPUT

OUTPUT

none

RETURN VALUE

none

DESCRIPTION

ksetvbuf(), an alternate form of setvbuf(), can be used after a stream has been opened but before it is read or written. It uses the character array buf whose size is specified by the bufsiz argument instead of an automatically fixed size of BUFSIZ. If buf is NULL, then no buffer is is used.

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.