title: Where are strings returned from functions in libc allocated?
body: <p>I started some socket programming, and I ran across the function inet_ntoa . The function has the prototype <code>char * inet_ntoa(struct in_addr in);</code>. </p>
  
  <p>So how/where will this string be allocated? Am I expected to call free on it?</p>