Page MenuHomeFreeBSD

malloc(9): update names and hardlinks
ClosedPublic

Authored by mhorne on Oct 11 2022, 5:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 6:22 PM
Unknown Object (File)
Oct 26 2025, 11:59 AM
Unknown Object (File)
Oct 25 2025, 10:06 AM
Unknown Object (File)
Oct 25 2025, 12:56 AM
Unknown Object (File)
Oct 10 2025, 6:36 AM
Unknown Object (File)
Oct 10 2025, 6:36 AM
Unknown Object (File)
Oct 10 2025, 6:36 AM
Unknown Object (File)
Oct 10 2025, 6:36 AM
Subscribers
None

Details

Summary

Give all documented functions a .Nm entry in the man page, following the
order they are listed in the synopsis. Create MLINKs for each of the
functions as well.

While here, add a missing include directive to the synopsis, and appease
mandoc by wrapping a long line.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 47783
Build 44670: arc lint + arc unit

Event Timeline

mhorne created this revision.

There are a few additional functions listed in the man page that don't have MLINKS: malloc_usable_size(), malloc_aligned(), malloc_exec(), malloc_domainset_exec(). zfree() is more widely used than these others.

I think it's fine to hardlink all of the functions you mentioned...

This revision is now accepted and ready to land.Oct 11 2022, 5:30 PM

Agree with Mark on linking them all.

mark is quite sensible in the advise he gives. I agree.

Add more MLINK entries, and .Nm entries as well.

This revision now requires review to proceed.Oct 11 2022, 7:22 PM
mhorne retitled this revision from malloc(9): create MLINK for zfree(9) to malloc(9): update names and hardlinks.Oct 11 2022, 7:23 PM
mhorne edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Oct 11 2022, 8:01 PM
This revision was automatically updated to reflect the committed changes.