Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
70
cde/doc/C/guides/man/m3_Dt/MmdbSGLT.sgm
Normal file
70
cde/doc/C/guides/man/m3_Dt/MmdbSGLT.sgm
Normal file
@@ -0,0 +1,70 @@
|
||||
<!-- $XConsortium: MmdbSGLT.sgm /main/6 1996/09/08 20:08:15 rws $ -->
|
||||
<!-- (c) Copyright 1996 Digital Equipment Corporation. -->
|
||||
<!-- (c) Copyright 1996 Hewlett-Packard Company. -->
|
||||
<!-- (c) Copyright 1996 International Business Machines Corp. -->
|
||||
<!-- (c) Copyright 1996 Sun Microsystems, Inc. -->
|
||||
<!-- (c) Copyright 1996 Novell, Inc. -->
|
||||
<!-- (c) Copyright 1996 FUJITSU LIMITED. -->
|
||||
<!-- (c) Copyright 1996 Hitachi. -->
|
||||
<![ %CDE.C.CDE; [<refentry id="CDE.INFO.DtMmdbSectionGetLongTi">]]><refmeta><refentrytitle>
|
||||
DtMmdbSectionGetLongTitle</refentrytitle><manvolnum>library call</manvolnum></refmeta><refnamediv>
|
||||
<refname><function>DtMmdbSectionGetLongTitle</function></refname><refpurpose>obtains
|
||||
the long title for a section</refpurpose></refnamediv><refsynopsisdiv>
|
||||
<funcsynopsis>
|
||||
<funcsynopsisinfo>#include <DtMmdb.h></funcsynopsisinfo>
|
||||
<funcdef>const char* <function>DtMmdbSectionGetLongTitle</function></funcdef>
|
||||
<paramdef>DtMmdbInfoRequest* <parameter>request</parameter></paramdef>
|
||||
<paramdef>unsigned int* <parameter>length</parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
</refsynopsisdiv><refsect1>
|
||||
<title>DESCRIPTION</title>
|
||||
<para>The <function>DtMmdbSectionGetLongTitle</function> function
|
||||
returns the long title for the specified section. Do not use the
|
||||
<function>free</function> function on the returned pointer. Table lookup is
|
||||
involved if the section identifier is specified by the
|
||||
<symbol role="Variable">locator_ptr</symbol> field.
|
||||
</para>
|
||||
</refsect1><refsect1>
|
||||
<title>ARGUMENTS</title>
|
||||
<variablelist>
|
||||
<varlistentry><term><symbol role="Variable">request</symbol></term>
|
||||
<listitem>
|
||||
<para>Specifies the bookcase in the bookcase descriptor field and
|
||||
either the section's Database Engine identifier (in the
|
||||
<symbol role="Variable">primary_oid</symbol> field) or the
|
||||
section's logical identifier (in the <symbol role="Variable">locator_ptr</symbol>
|
||||
field). If both of these fields have a value,
|
||||
<function>DtMmdbSectionGetLongTitle</function> uses the
|
||||
<symbol role="Variable">locator_ptr</symbol> value.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry><term><symbol role="Variable">length</symbol></term>
|
||||
<listitem>
|
||||
<para>Specifies the variable to receive the length of the
|
||||
returned long title, if the returned pointer to the title is not NULL.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1><refsect1>
|
||||
<title>RETURN VALUE</title>
|
||||
<para>If <function>DtMmdbSectionGetLongTitle</function> completes
|
||||
successfully, it returns a pointer to a NULL-terminated
|
||||
long title character string. If it fails, it returns a NULL pointer.
|
||||
</para>
|
||||
</refsect1><refsect1>
|
||||
<title>EXAMPLE</title>
|
||||
<para>The following shows how a <function>DtMmdbSectionGetLongTitle</function> call
|
||||
might be coded.</para>
|
||||
<informalexample>
|
||||
<programlisting>DtMmdbInfoRequest request;
|
||||
/* fill the request field here */
|
||||
DtMmdbSectionGetLongTitle(&request);
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</refsect1><refsect1>
|
||||
<title>SEE ALSO</title>
|
||||
<para>&cdeman.DtMmdbSectionGetShortTitle;
|
||||
</para>
|
||||
</refsect1></refentry>
|
||||
Reference in New Issue
Block a user