Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154968673
D36940.id111659.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D36940.id111659.diff
View Options
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1415,13 +1415,19 @@
make_dev.9 make_dev_p.9 \
make_dev.9 make_dev_s.9
MLINKS+=malloc.9 free.9 \
+ malloc.9 malloc_aligned.9 \
malloc.9 malloc_domainset.9 \
+ malloc.9 malloc_domainset_aligned.9 \
+ malloc.9 malloc_domainset_exec.9 \
+ malloc.9 malloc_exec.9 \
+ malloc.9 malloc_usable_size.9 \
malloc.9 mallocarray.9 \
malloc.9 mallocarray_domainset.9 \
malloc.9 MALLOC_DECLARE.9 \
malloc.9 MALLOC_DEFINE.9 \
malloc.9 realloc.9 \
- malloc.9 reallocf.9
+ malloc.9 reallocf.9 \
+ malloc.9 zfree.9
MLINKS+=mbchain.9 mb_detach.9 \
mbchain.9 mb_done.9 \
mbchain.9 mb_fixhdr.9 \
diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9
--- a/share/man/man9/malloc.9
+++ b/share/man/man9/malloc.9
@@ -29,16 +29,25 @@
.\" $NetBSD: malloc.9,v 1.3 1996/11/11 00:05:11 lukem Exp $
.\" $FreeBSD$
.\"
-.Dd July 2, 2021
+.Dd October 11, 2022
.Dt MALLOC 9
.Os
.Sh NAME
.Nm malloc ,
+.Nm mallocarray ,
.Nm free ,
+.Nm zfree ,
.Nm realloc ,
.Nm reallocf ,
+.Nm malloc_usable_size ,
+.Nm malloc_aligned ,
+.Nm malloc_exec ,
+.Nm MALLOC_DECLARE ,
.Nm MALLOC_DEFINE ,
-.Nm MALLOC_DECLARE
+.Nm malloc_domainset ,
+.Nm malloc_domainset_aligned ,
+.Nm malloc_domainset_exec ,
+.Nm mallocarray_domainset
.Nd kernel memory management routines
.Sh SYNOPSIS
.In sys/types.h
@@ -73,6 +82,7 @@
.Fn MALLOC_DEFINE type shortdesc longdesc
.In sys/param.h
.In sys/domainset.h
+.In sys/malloc.h
.Ft void *
.Fn malloc_domainset "size_t size" "struct malloc_type *type" "struct domainset *ds" "int flags"
.Ft void *
@@ -116,7 +126,8 @@
and
.Fn malloc_domainset_exec
can be used to return executable memory.
-Not all platforms enforce a distinction between executable and non-executable memory.
+Not all platforms enforce a distinction between executable and non-executable
+memory.
.Pp
The
.Fn mallocarray
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 1, 9:16 AM (52 m, 9 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32568990
Default Alt Text
D36940.id111659.diff (1 KB)
Attached To
Mode
D36940: malloc(9): update names and hardlinks
Attached
Detach File
Event Timeline
Log In to Comment