BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kgetbuffer - get the current data transport stream's input/output buffer and it's size

LIBRARY CALL

char  *kgetbuffer(
   kfile  *file,
   size_t *bufsiz)

INPUT

OUTPUT

RETURN VALUE

The externally inialized buf or NULL if the the transport is non-buffered or if the buffer is the internal buffer.

DESCRIPTION

kgetbuffer(), the opposite from ksetvbuf(), can be used after a stream buffer has been initialized. It returns the initialized stream buffer. The character array buf whose size is returned as the bufsiz argument, unless NULL.

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.