diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/stdlib/malloc.3 | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index 854d698fcc..5ac241c992 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3  | |||
| @@ -30,9 +30,9 @@ | |||
| 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.76 2014/04/22 15:02:16 jmc Exp $ | 33 | .\" $OpenBSD: malloc.3,v 1.77 2014/04/30 23:28:05 sthen Exp $ | 
| 34 | .\" | 34 | .\" | 
| 35 | .Dd $Mdocdate: April 22 2014 $ | 35 | .Dd $Mdocdate: April 30 2014 $ | 
| 36 | .Dt MALLOC 3 | 36 | .Dt MALLOC 3 | 
| 37 | .Os | 37 | .Os | 
| 38 | .Sh NAME | 38 | .Sh NAME | 
| @@ -271,6 +271,11 @@ Currently junk is bytes of 0xd0 when allocating; this is pronounced | |||
| 271 | .Dq Duh . | 271 | .Dq Duh . | 
| 272 | \&:-) | 272 | \&:-) | 
| 273 | Freed chunks are filled with 0xdf. | 273 | Freed chunks are filled with 0xdf. | 
| 274 | .It Cm j | ||
| 275 | .Dq Don't Junk . | ||
| 276 | By default, small chunks are always junked, and the first part of pages | ||
| 277 | is junked after free. | ||
| 278 | This flag disables the default so that no junking is performed. | ||
| 274 | .It Cm P | 279 | .It Cm P | 
| 275 | .Dq Move allocations within a page. | 280 | .Dq Move allocations within a page. | 
| 276 | Allocations larger than half a page but smaller than a page | 281 | Allocations larger than half a page but smaller than a page | 
