]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/cfree.3
Automated unformatting of parentheses using unformat_parens.sh
[thirdparty/man-pages.git] / man3 / cfree.3
index 5d43a921a2c1872b26437b350f52827b3969c0c0..4fc2b0d22ddbab5221b6c413f2af1fa70b83ebd8 100644 (file)
@@ -46,7 +46,7 @@ This function should never be used. Use
 instead.
 .SS "1-arg cfree"
 In glibc, the function
-.B cfree()
+.BR cfree ()
 is a synonym for
 .BR free (3),
 "added for compatibility with SunOS".
@@ -59,7 +59,7 @@ and sometimes in
 .LP
 .SS "3-arg cfree"
 Some SCO and Solaris versions have malloc libraries with a 3-argument
-.BR cfree() ,
+.BR cfree (),
 apparently as an analog to
 .BR calloc (3).
 .LP
@@ -72,22 +72,22 @@ If you need it while porting something, add
 to your file.
 .LP
 A frequently asked question is "Can I use
-.B free()
+.BR free ()
 to free memory allocated with
-.BR calloc() ,
+.BR calloc (),
 or do I need
 .BR cfree() ?"
 Answer: use
-.BR free() .
+.BR free ().
 .LP
 An SCO manual writes: "The cfree routine is provided for compliance
 to the iBCSe2 standard and simply calls free. The num and size
 arguments to cfree are not used."
 .SH "RETURN VALUE"
 The SunOS version of
-.B cfree()
+.BR cfree ()
 (which is a synonym for
-.BR free() )
+.BR free ())
 returns 1 on success and 0 on failure.
 In case of error,
 .I errno
@@ -97,6 +97,6 @@ was not a pointer to a block previously allocated by
 one of the routines in the malloc() family.
 .SH "CONFORMING TO"
 The 3-argument version of
-.B cfree()
+.BR cfree ()
 as used by SCO conforms to the iBCSe2 standard:
 Intel386 Binary Compatibility Specification, Edition 2.