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)
Wed, Aug 19, 11:27 AM
Unknown Object (File)
Tue, Aug 18, 8:27 PM
Unknown Object (File)
Tue, Aug 18, 8:22 PM
Unknown Object (File)
Tue, Aug 18, 3:35 PM
Unknown Object (File)
Tue, Aug 18, 2:52 PM
Unknown Object (File)
Mon, Aug 17, 8:39 PM
Unknown Object (File)
Mon, Aug 17, 7:08 PM
Unknown Object (File)
Mon, Aug 17, 5:57 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 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.