Page MenuHomeFreeBSD

Add note that contigfree(9) does not accept NULL
ClosedPublic

Authored by emaste on Jan 29 2015, 5:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 21, 7:31 AM
Unknown Object (File)
Fri, Jun 21, 5:52 AM
Unknown Object (File)
Apr 26 2024, 6:38 AM
Unknown Object (File)
Apr 26 2024, 6:23 AM
Unknown Object (File)
Nov 13 2023, 2:05 PM
Unknown Object (File)
Oct 12 2023, 12:47 AM
Unknown Object (File)
Sep 30 2023, 1:40 PM
Unknown Object (File)
Dec 23 2022, 1:38 AM
Subscribers

Details

Summary

free(3) and free(9) accept NULL, so be explicit that contigfree(9) does not.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to Add note that contigfree(9) does not accept NULL.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: Doc Committers.
wblock added inline comments.
share/man/man9/contigmalloc.9
107 ↗(On Diff #3515)

"may not" implies permission, but probably instead this is meant to say that NULL is not a valid input. Maybe:

.Fn contigfree
does not accept
.Dv NULL
as an address input, unlike
.Xr free 9 .

emaste updated this revision to Diff 3527.

Closed by commit rS277908 (authored by @emaste).