chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/configuration.c, lib/home.c: Introduce environment variables.
[disorder]
/
lib
/
mem.h
diff --git
a/lib/mem.h
b/lib/mem.h
index 46412eb1832ec7978d990c7d51d9b9c0d6aa936e..8a8f245c8fa4f4e99341390f04b054bba8e5d5b8 100644
(file)
--- a/
lib/mem.h
+++ b/
lib/mem.h
@@
-35,7
+35,7
@@
void *xmalloc(size_t);
void *xrealloc(void *, size_t);
void *xcalloc(size_t count, size_t size);
/* As malloc/realloc/calloc, but
void *xrealloc(void *, size_t);
void *xcalloc(size_t count, size_t size);
/* As malloc/realloc/calloc, but
- * 1) succeed or call fatal
+ * 1) succeed or call
disorder_
fatal
* 2) always clear (the unused part of) the new allocation
* 3) are garbage-collected
*/
* 2) always clear (the unused part of) the new allocation
* 3) are garbage-collected
*/
@@
-46,7
+46,7
@@
void *xcalloc_noptr(size_t count, size_t size);
char *xstrdup(const char *);
char *xstrndup(const char *, size_t);
/* As malloc/realloc/strdup, but
char *xstrdup(const char *);
char *xstrndup(const char *, size_t);
/* As malloc/realloc/strdup, but
- * 1) succeed or call fatal
+ * 1) succeed or call
disorder_
fatal
* 2) are garbage-collected
* 3) allocated space must not contain any pointers
*
* 2) are garbage-collected
* 3) allocated space must not contain any pointers
*