diff options
author | jmc <> | 2014-04-22 15:02:16 +0000 |
---|---|---|
committer | jmc <> | 2014-04-22 15:02:16 +0000 |
commit | d9e10f75814922e77d3c507d0bed87de0e2095c6 (patch) | |
tree | 3b33632901929b1682b748e21c977fa46f58b0bd /src | |
parent | 084aa3d06f49c065a074d6fe54b6ae9c1d42bff6 (diff) | |
download | openbsd-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.3 | 6 |
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 |
322 | So to set a systemwide reduction of the cache to a quarter of the | 322 | So to set a systemwide reduction of the cache to a quarter of the |
323 | default size and use guard pages: | 323 | default 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 |
326 | The flags are mostly for testing and debugging. | 326 | The flags are mostly for testing and debugging. |
327 | If a program changes behavior if any of these options (except | 327 | If 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 |
334 | The | 334 | The |
335 | .Fn malloc , | 335 | .Fn malloc , |
336 | .Fn mallocarray , | 336 | .Fn reallocarray , |
337 | and | 337 | and |
338 | .Fn calloc | 338 | .Fn calloc |
339 | functions return a pointer to the allocated space if successful; otherwise, | 339 | functions return a pointer to the allocated space if successful; otherwise, |