Page MenuHomeFreeBSD

getnetent(3): Add missing reentrant functions
ClosedPublic

Authored by fernape on May 26 2021, 2:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 24 2024, 2:23 PM
Unknown Object (File)
May 24 2024, 12:38 PM
Unknown Object (File)
Mar 22 2024, 12:52 AM
Unknown Object (File)
Jan 5 2024, 3:23 PM
Unknown Object (File)
Dec 20 2023, 3:00 AM
Unknown Object (File)
Dec 16 2023, 2:45 AM
Unknown Object (File)
Dec 12 2023, 3:13 AM
Unknown Object (File)
Oct 14 2023, 10:13 PM

Details

Summary

Add documentation for getnetent_r, getnetbyaddr_r and getnetbyname_r

Create proper MLINKs for the new functions.

PR: 249154
Reported by: asomers@

Test Plan

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39463
Build 36352: arc lint + arc unit

Event Timeline

Can I have some feedback here so I can move forward with this?

same, seems reasonable

This revision is now accepted and ready to land.Jun 13 2022, 8:28 PM
pauamma_gundo.com added inline comments.
lib/libc/net/gethostbyname.3
43–45 ↗(On Diff #106867)

Should all the *_r functions be kept together, or each moved next to the corresponding non-reentrant function?

68–73 ↗(On Diff #106867)

Same question as above.

lib/libc/net/gethostbyname.3
43–45 ↗(On Diff #106867)

I would keep them together. See cap_endgrent(3), cap_pwd(3)

pauamma_gundo.com added inline comments.
lib/libc/net/gethostbyname.3
43–45 ↗(On Diff #106867)

WFM. Consistency in outline with other manual pages is as good an answer as any.