<?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_free"> <!-- ID for references -->

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

<refnamediv>
<refname>cds_free</refname> <!-- function name -->
<refpurpose>free allocated memory</refpurpose> <!-- short function description -->
</refnamediv>

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

<funcprototype> <!-- function prototype -->
  <funcdef>void <function>cds_free</function></funcdef>
  <paramdef>void *<parameter>ptr</parameter></paramdef>
</funcprototype>

</funcsynopsis></refsynopsisdiv>

<refsect1><title>Description</title>
<para>Frees memory allocated using <function>cds_malloc</function>.
<!-- detailed description -->
</para>

</refsect1>

<refsect1><title>Return value</title>
<para>
<!-- return value description -->
Returns 0 on success, non-zero on error.
</para>
</refsect1>

<refsect1><title>See Also</title>
<para>
<!-- references to other pages -->
</para>
</refsect1>

</refentry> 

