~maria-captains/mariadb-native-client/trunk

« back to all changes in this revision

Viewing changes to docs/funcref/mysql_num_fields.xml

  • Committer: Georg Richter
  • Date: 2012-11-26 10:23:56 UTC
  • Revision ID: georg@linux-eozo-20121126102356-llqrnqevaypb2nc6
- Added documentation (docbook based)
- To build the documentation use cmake . -DBUILD_DOCS=yes
- minor fixes in tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version='1.0' encoding='UTF-8'?>
 
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
 
3
               "docbook/dtd/xml/4.2/docbookx.dtd" [
 
4
<!ENTITY % global_ents SYSTEM "../global.ent">
 
5
%global_ents;
 
6
]>
 
7
    <refentry id="functions.mysql_num_fields" display-name="0">
 
8
      <refmeta>
 
9
        <refentrytitle>mysql_num_fields</refentrytitle>
 
10
      </refmeta>
 
11
      <refnamediv>
 
12
        <refname>mysql_num_fields</refname>
 
13
        <refpurpose>returns number of fields in a result set</refpurpose>
 
14
      </refnamediv>
 
15
      <refsect1 role="description">
 
16
        <methodsynopsis>
 
17
          <type>unsigned int</type>
 
18
          <methodname>mysql_num_fields</methodname>
 
19
           <methodparam><type>MYSQL_RES *</type><parameter></parameter></methodparam>
 
20
 
 
21
        </methodsynopsis>
 
22
        <para>Returns number of fields in a specified result set.</para>
 
23
      </refsect1>
 
24
      <refsect1 role="parameters">
 
25
        <title>Parameters</title>
 
26
          <variablelist>
 
27
           <varlistentry><term><parameter></parameter></term><listitem><para>&param.result;</para></listitem></varlistentry>
 
28
 
 
29
          </variablelist>
 
30
      </refsect1>
 
31
      <refsect1 role="returnvalue">
 
32
        <title>Return value</title>
 
33
        <para>The number of fields in a result set.</para>
 
34
      </refsect1>
 
35
      <refsect1 role="seealso">
 
36
        <title>See also</title>
 
37
        <para><function>mysql_fetch_field()</function></para>
 
38
      </refsect1>
 
39
    </refentry>