.\" Documented MALLOC_CHECK_, Wolfram Gloger (wmglo@dent.med.uni-muenchen.de)
.\" 2007-09-15 mtk: added notes on malloc()'s use of sbrk() and mmap().
.\"
-.TH MALLOC 3 2007-09-15 "GNU" "Linux Programmer's Manual"
+.TH MALLOC 3 2008-02-22 "GNU" "Linux Programmer's Manual"
.SH NAME
calloc, malloc, free, realloc \- Allocate and free dynamic memory
.SH SYNOPSIS
newly allocated memory will be uninitialized.
If
.I ptr
-is NULL, the call is equivalent to
+is NULL, then the call is equivalent to
.IR malloc(size) ;
if
.I size
is equal to zero,
-the call is equivalent to
+and
+.I ptr
+is not NULL, then the call is equivalent to
.IR free(ptr) .
Unless
.I ptr