title: How to resolve compiler warning 'implicit declaration of function memset'
body: <p>My c code uses 'memset' and 'close'.
  And I have added:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;glib.h&gt;
  #include &lt;stdlib.h&gt;
  </code></pre>
  
  <p>But I still get these warnings:</p>
  
  <pre><code>main.c:259: warning: implicit declaration of function ‘memset’
  main.c:259: warning: incompatible implicit declaration of built-in function ‘memset’
  main.c:268: warning: implicit declaration of function ‘close’
  main.c:259: warning: incompatible implicit declaration of built-in function ‘close’
  </code></pre>
  
  <p>Can you please tell me how can I resolve these warnings?</p>
  
  <p>Thank you.</p>