Archived
1
0
Fork 0

docs: updated xalloc

This commit is contained in:
Henrik Hautakoski 2010-11-05 10:26:33 +01:00
parent 44be15984f
commit 15e73d76ab

View file

@ -31,6 +31,11 @@ functions
Allocates and copies the string 's' to a new memory location and returns it to the user. +
If compiled with the `__DEBUG__` symbol, the function will not allow 's' to be a `NULL` pointer
`xmemdup()`::
Allocates and copies `len` bytes from `ptr` to a new memory location and returns it to the user. +
If compiled with the `__DEBUG__` symbol, the function will not allow 'ptr' to be a `NULL` pointer
`xfree()`::
Free's a previous allocated block (pointed to by 'ptr') that is allocated by xmalloc/malloc. +