char *getinfo(char *record)
Return:
NULL
This function reads an "info" string from the `header' file for
the specified record. Info strings are null-terminated and do not
contain newline characters. The `header' files of some records may
contain no info strings; others may contain more than one info string.
To read additional info strings after the first, use getinfo(NULL)
.
For example, the following code fragment may be used to read and print
all of the info for record `100s':
... char *info; if (info = getinfo("100s")) do { puts(info); } while (info = getinfo(NULL)); ...
(This function was first introduced in DB library version 4.0.)
Go to the first, previous, next, last section, table of contents.