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>Mai 26, 2004</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_STRDUP</refentrytitle>"> 30 <!ENTITY funcname "PX_strdup"> 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</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>duplicate a string</refpurpose> 61 </refnamediv> 62 <refsynopsisdiv> 63 <para>#include <paradox.h></para> 64 <para>char * &funcname;(pxdoc_t *pxdoc, const char *str)</para> 65 </refsynopsisdiv> 66 <refsect1> 67 <title>DESCRIPTION</title> 68 69 <para>Duplicates a string like strdup(3) but uses the memory allocation 70 function as passed to <function>PX_new2(3)</function>.</para> 71 72 </refsect1> 73 <refsect1> 74 <title>RETURN VALUE</title> 75 <para>Returns pointer to string on success and NULL on failure.</para> 76 </refsect1> 77 <refsect1> 78 <title>SEE ALSO</title> 79 80 <para>PX_new2(3)</para> 81 82 </refsect1> 83 <refsect1> 84 <title>AUTHOR</title> 85 86 <para>This manual page was written by &dhusername; &dhemail;.</para> 87 88 </refsect1> 89</refentry> 90 91<!-- Keep this comment at the end of the file 92Local variables: 93mode: sgml 94sgml-omittag:t 95sgml-shorttag:t 96sgml-minimize-attributes:nil 97sgml-always-quote-attributes:t 98sgml-indent-step:2 99sgml-indent-data:t 100sgml-parent-document:nil 101sgml-default-dtd-file:nil 102sgml-exposed-tags:nil 103sgml-local-catalogs:nil 104sgml-local-ecat-files:nil 105End: 106--> 107 108 109