summaryrefslogtreecommitdiff
path: root/manual/memory.texi
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-04-18 11:50:58 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-04-18 11:50:58 +0200
commit025b33ae84bb8f15b2748a1d8605dca453fce112 (patch)
tree2bb47e51512665a67018d8ed07e99b6401544a89 /manual/memory.texi
parent6c6ab1fc49d524ab1892cb20ee74352ace0b8034 (diff)
malloc: Turn cfree into a compatibility symbol
Diffstat (limited to 'manual/memory.texi')
-rw-r--r--manual/memory.texi9
1 files changed, 0 insertions, 9 deletions
diff --git a/manual/memory.texi b/manual/memory.texi
index 38d3c3a4bb..a39cac805f 100644
--- a/manual/memory.texi
+++ b/manual/memory.texi
@@ -701,15 +701,6 @@ The @code{free} function deallocates the block of memory pointed at
by @var{ptr}.
@end deftypefun
-@comment stdlib.h
-@comment Sun
-@deftypefun void cfree (void *@var{ptr})
-@safety{@prelim{}@mtsafe{}@asunsafe{@asulock{}}@acunsafe{@aculock{} @acsfd{} @acsmem{}}}
-@c alias to free
-This function does the same thing as @code{free}. It's provided for
-backward compatibility with SunOS; you should use @code{free} instead.
-@end deftypefun
-
Freeing a block alters the contents of the block. @strong{Do not expect to
find any data (such as a pointer to the next block in a chain of blocks) in
the block after freeing it.} Copy whatever you need out of the block before