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


putinfo

int putinfo(char *s)

Return:

0
Success
-1
Failure: header not initialized

This function writes s as an "info" string into the `header' file that was created by the most recent invocation of newheader. The string argument, s, must be null-terminated and should not contain newline characters. No more than 254 characters may be written in a single invocation of putinfo. Two or more info strings may be written to the same header by successive invocations of putinfo. Note that newheader or setheader must be used before putinfo. (This function was first introduced in DB library version 4.0.)


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



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