<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 17:45:20 +0000</lastBuildDate>
    <item>
      <title>(C) malloc() memory allocation handling - blackthorne</title>
      <link>https://snipplr.com/view/46490/malloc-memory-allocation-handling</link>
      <description>&lt;p&gt;In C, you have to manage your own program's memory. So if you allocate memory using malloc() you should not forget to free() it when no longer required.&#13;
&#13;
You should also make sure if there is available memory in your system to allocate.&lt;/p&gt;</description>
      <pubDate>Tue, 04 Jan 2011 23:45:21 UTC</pubDate>
      <guid>https://snipplr.com/view/46490/malloc-memory-allocation-handling</guid>
    </item>
    <item>
      <title>(C) Execve() for executing external programs - blackthorne</title>
      <link>https://snipplr.com/view/46488/execve-for-executing-external-programs</link>
      <description>&lt;p&gt;To execute external programs you should avoid functions like system() or popen() since they can be affected by the shell environment variables which issues serious security concerns. Instead, use execve().&lt;/p&gt;</description>
      <pubDate>Tue, 04 Jan 2011 23:40:34 UTC</pubDate>
      <guid>https://snipplr.com/view/46488/execve-for-executing-external-programs</guid>
    </item>
    <item>
      <title>(C) ArrayLists in C - blackthorne</title>
      <link>https://snipplr.com/view/46487/arraylists-in-c</link>
      <description>&lt;p&gt;includes files:&#13;
arraylist.c&#13;
arraylist.h&lt;/p&gt;</description>
      <pubDate>Tue, 04 Jan 2011 23:38:07 UTC</pubDate>
      <guid>https://snipplr.com/view/46487/arraylists-in-c</guid>
    </item>
  </channel>
</rss>
