Go to the first, previous, next, last section, table of contents.


setibsize

int setibsize(int size)

Return:

>0
Success: the returned value is the new input buffer size in bytes
-1
Failure: buffer size could not be changed
-2
Failure: illegal value for size

This function can be used to change the default size of the input buffers allocated by getvec. It cannot be used while input signals are open (i.e., after invoking isigopen or dbinit and before invoking dbquit). If size is positive, the default input buffers will be size bytes; if size is zero, the system default buffer size (BUFSIZ) is used. Note that the default buffer size has no effect on reading signals for which an explicit buffer size is given in the `header' file, i.e., those for which the bsize field of the DB_Siginfo structure (see section Signal Information Structures) is non-zero. (This function was first introduced in DB library version 5.0.)


Go to the first, previous, next, last section, table of contents.



George B. Moody (george@hstbme.mit.edu)