summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2014-04-22 15:02:16 +0000
committerjmc <>2014-04-22 15:02:16 +0000
commitd9e10f75814922e77d3c507d0bed87de0e2095c6 (patch)
tree3b33632901929b1682b748e21c977fa46f58b0bd /src
parent084aa3d06f49c065a074d6fe54b6ae9c1d42bff6 (diff)
downloadopenbsd-d9e10f75814922e77d3c507d0bed87de0e2095c6.tar.gz
openbsd-d9e10f75814922e77d3c507d0bed87de0e2095c6.tar.bz2
openbsd-d9e10f75814922e77d3c507d0bed87de0e2095c6.zip
- one more mallocarray -> reallocarray
- use <>
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/malloc.36
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3
index 2f99ea9b80..854d698fcc 100644
--- a/src/lib/libc/stdlib/malloc.3
+++ b/src/lib/libc/stdlib/malloc.3
@@ -30,7 +30,7 @@
30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31.\" SUCH DAMAGE. 31.\" SUCH DAMAGE.
32.\" 32.\"
33.\" $OpenBSD: malloc.3,v 1.75 2014/04/22 14:26:26 tedu Exp $ 33.\" $OpenBSD: malloc.3,v 1.76 2014/04/22 15:02:16 jmc Exp $
34.\" 34.\"
35.Dd $Mdocdate: April 22 2014 $ 35.Dd $Mdocdate: April 22 2014 $
36.Dt MALLOC 3 36.Dt MALLOC 3
@@ -321,7 +321,7 @@ Increase the size of the free page cache by a factor of two.
321.Pp 321.Pp
322So to set a systemwide reduction of the cache to a quarter of the 322So to set a systemwide reduction of the cache to a quarter of the
323default size and use guard pages: 323default size and use guard pages:
324.Dl # ln -s 'G\*(Lt\*(Lt' /etc/malloc.conf 324.Dl # ln -s 'G<<' /etc/malloc.conf
325.Pp 325.Pp
326The flags are mostly for testing and debugging. 326The flags are mostly for testing and debugging.
327If a program changes behavior if any of these options (except 327If a program changes behavior if any of these options (except
@@ -333,7 +333,7 @@ The default number of free pages cached is 64.
333.Sh RETURN VALUES 333.Sh RETURN VALUES
334The 334The
335.Fn malloc , 335.Fn malloc ,
336.Fn mallocarray , 336.Fn reallocarray ,
337and 337and
338.Fn calloc 338.Fn calloc
339functions return a pointer to the allocated space if successful; otherwise, 339functions return a pointer to the allocated space if successful; otherwise,