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


setobsize

int setobsize(int size)

Return:

>0
Success: the returned value is the new output 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 output buffers allocated by putvec. It cannot be used while output signals are open (i.e., after invoking osigopen or osigfopen and before invoking dbquit). If size is positive, the default output 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 writing signals for which an explicit buffer size is given in the `header' file read by osigopen, or in the bsize field of the DB_Siginfo structure (see section Signal Information Structures) passed to osigfopen. (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)