1<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
2
3<!-- Process this file with docbook-to-man to generate an nroff manual
4     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
5     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
6     less'.  A typical entry in a Makefile or Makefile.am is:
7
8manpage.1: manpage.sgml
9	docbook-to-man $< > $@
10
11
12	The docbook-to-man binary is found in the docbook-to-man package.
13	Please remember that if you create the nroff version in one of the
14	debian/rules file targets (such as build), you will need to include
15	docbook-to-man in your Build-Depends control field.
16
17  -->
18
19  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
20  <!ENTITY dhfirstname "<firstname>UWE</firstname>">
21  <!ENTITY dhsurname   "<surname>STEINMANN</surname>">
22  <!-- Please adjust the date whenever revising the manpage. -->
23  <!ENTITY dhdate      "<date>August 29, 2005</date>">
24  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
25       allowed: see man(7), man(1). -->
26  <!ENTITY dhsection   "<manvolnum>3</manvolnum>">
27  <!ENTITY dhemail     "<email>uwe@steinmann.cx</email>">
28  <!ENTITY dhusername  "Uwe Steinmann">
29  <!ENTITY dhucpackage "<refentrytitle>PX_GET_DATA_BYTE</refentrytitle>">
30  <!ENTITY funcname    "PX_get_data_byte">
31
32  <!ENTITY debian      "<productname>Debian</productname>">
33  <!ENTITY gnu         "<acronym>GNU</acronym>">
34  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
35]>
36
37<refentry>
38  <refentryinfo>
39    <address>
40      &dhemail;
41    </address>
42    <author>
43      &dhfirstname;
44      &dhsurname;
45    </author>
46    <copyright>
47      <year>2003-2005</year>
48      <holder>&dhusername;</holder>
49    </copyright>
50    &dhdate;
51  </refentryinfo>
52  <refmeta>
53    &dhucpackage;
54
55    &dhsection;
56  </refmeta>
57  <refnamediv>
58    <refname>&funcname;</refname>
59
60    <refpurpose>Get value from byte data field</refpurpose>
61  </refnamediv>
62  <refsynopsisdiv>
63    <para>#include &lt;paradox.h&gt;</para>
64		<para>int &funcname;(pxdoc_t *pxdoc, char *data, int len, char *value)</para>
65  </refsynopsisdiv>
66  <refsect1>
67    <title>DESCRIPTION</title>
68
69    <para>Converts a data field consisting of a single byte into
70		  a byte for the host architecture. You should use this function
71			instead of accessing the data directly.</para>
72		<para><option>data</option> points to the start of the data field in the
73		  record. It must be calculated by summing up all field length before
74			the field to operate on and add it to the base pointer of the
75			record.</para>
76		<note><para>This function is deprecated and obsolete if
77		  <function>PX_retrieve_record(3)</function> is used.</para></note>
78
79  </refsect1>
80  <refsect1>
81    <title>RETURN VALUE</title>
82    <para>Returns 0 if the value is NULL, -1 in case of an error and 1
83		  otherwise.</para>
84  </refsect1>
85  <refsect1>
86    <title>SEE ALSO</title>
87
88    <para>PX_get_data_short(3), PX_get_data_long(3), PX_get_data_double(3), PX_get_data_alpha(3)</para>
89
90  </refsect1>
91  <refsect1>
92    <title>AUTHOR</title>
93
94    <para>This manual page was written by &dhusername; &dhemail;.</para>
95
96  </refsect1>
97</refentry>
98
99<!-- Keep this comment at the end of the file
100Local variables:
101mode: sgml
102sgml-omittag:t
103sgml-shorttag:t
104sgml-minimize-attributes:nil
105sgml-always-quote-attributes:t
106sgml-indent-step:2
107sgml-indent-data:t
108sgml-parent-document:nil
109sgml-default-dtd-file:nil
110sgml-exposed-tags:nil
111sgml-local-catalogs:nil
112sgml-local-ecat-files:nil
113End:
114-->
115
116
117