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)
Fri, Nov 15, 8:21 AM
Unknown Object (File)
Wed, Oct 30, 5:05 PM
Unknown Object (File)
Oct 6 2024, 3:18 PM
Unknown Object (File)
Oct 2 2024, 5:17 PM
Unknown Object (File)
Sep 23 2024, 4:12 PM
Unknown Object (File)
Sep 16 2024, 10:33 PM
Unknown Object (File)
Sep 14 2024, 4:27 AM
Unknown Object (File)
Sep 13 2024, 5:23 PM
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 47781
Build 44668: 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.