]> git.ozlabs.org Git - ccan/blobdiff - ccan/tal/tal.h
tal: make sure tal_free() preserves errno.
[ccan] / ccan / tal / tal.h
index da448d8f22ad8813520299546a51ce09c0a00705..a12e0dc476ba6acb773e2e65d0b2de68a1c8f234 100644 (file)
@@ -58,6 +58,8 @@ typedef void tal_t;
  *
  * This calls the destructors for p (if any), then does the same for all its
  * children (recursively) before finally freeing the memory.
+ *
+ * Note: errno is preserved by this call.
  */
 void tal_free(const tal_t *p);