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, Jun 21, 8:49 AM
Unknown Object (File)
Fri, Jun 21, 8:36 AM
Unknown Object (File)
Thu, Jun 20, 11:53 AM
Unknown Object (File)
Thu, Jun 20, 10:14 AM
Unknown Object (File)
Thu, Jun 20, 10:14 AM
Unknown Object (File)
Thu, Jun 20, 9:14 AM
Unknown Object (File)
Thu, Jun 20, 5:24 AM
Unknown Object (File)
Thu, Jun 20, 3:16 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 Not Applicable
Unit
Tests Not Applicable

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.