<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<refentry id="cds_malloc_ptr"> <!-- ID for references -->

<refmeta>
<refentrytitle>cds_malloc_ptr</refentrytitle> <!-- title shown in references -->
<manvolnum>3</manvolnum></refmeta> <!-- man volume id (3 for libraries) -->

<refnamediv>
<refname>cds_malloc_ptr</refname> <!-- function name -->
<refpurpose>pointer to cds_malloc function independent on cds_malloc
implementation (macro, ...)</refpurpose> <!-- short function description -->
</refnamediv>

<refsynopsisdiv><funcsynopsis>
<funcsynopsisinfo>
#include &lt;cds/memory.h&gt; <!-- included headers -->
</funcsynopsisinfo>

<funcprototype> <!-- function prototype -->
  <funcdef>void *<function>cds_malloc_ptr</function></funcdef>
  <paramdef>unsigned int <parameter>size</parameter></paramdef>
</funcprototype>

</funcsynopsis></refsynopsisdiv>

<refsect1><title>Description</title>
<para>Pointer to memory allocation function. It is independent on
<function>cds_malloc</function> implementation.
<!-- detailed description -->
</para>

</refsect1>

<refsect1><title>See Also</title>
<para>
<xref linkend="cds_malloc"/>
<!-- references to other pages -->
</para>
</refsect1>

</refentry>