dtmmdbsectiongetdata(3) hpux man page | unix.com

Man Page: dtmmdbsectiongetdata

Operating Environment: hpux

Section: 3

DtMmdbSectionGetData(library call)										DtMmdbSectionGetData(library call)

NAME
DtMmdbSectionGetData -- obtains the data for a section
SYNOPSIS
#include <DtMmdb.h> const char* DtMmdbSectionGetData( DtMmdbInfoRequest* request, unsigned int* length);
DESCRIPTION
The DtMmdbSectionGetData function returns the data for the specified section. Do not use the free function on the returned pointer. Table lookup is involved if the section identifier is specified by the locator_ptr field.
ARGUMENTS
request Specifies the bookcase in the bookcase descriptor field and either the section's Database Engine identifier (in the primary_oid field) or the section's logical identifier (in the locator_ptr field). If both of these fields have a value, DtMmdbSectionGetData ignores the locator_ptr value. length Specifies the variable to receive the length of the returned data, if the returned pointer to the data is not NULL.
RETURN VALUE
If DtMmdbSectionGetData completes successfully, it returns a pointer to a NULL-terminated data string. If it fails, it returns a NULL pointer.
EXAMPLE
The following shows how a DtMmdbSectionGetData call might be coded. DtMmdbInfoRequest request; /* fill the request */ DtMmdbSectionGetData(&request, 0);
SEE ALSO
TO BE SUPPLIED DtMmdbSectionGetData(library call)
Related Man Pages
getsectbyname(3) - opendarwin
getsectdatafromheader(3) - opendarwin
getsectdata(3) - opendarwin
dtmmdbdlpgetnextsectionid(3) - hpux
dtmmdbsectiongetloc(3) - hpux
Similar Topics in the Unix Linux Community
Unix File Permissions
Thank you members and admins
awk - Multi-line data to be stored in variable
Shopt -s histappend