Page MenuHomeFreeBSD

ps(1): find_varentry() to take a name instead of a VAR
ClosedPublic

Authored by olce on Apr 1 2025, 1:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 8, 6:23 AM
Unknown Object (File)
Sat, Feb 7, 7:29 PM
Unknown Object (File)
Tue, Feb 3, 5:28 AM
Unknown Object (File)
Sat, Jan 31, 12:34 PM
Unknown Object (File)
Dec 11 2025, 2:19 PM
Unknown Object (File)
Nov 28 2025, 3:36 AM
Unknown Object (File)
Nov 25 2025, 11:24 AM
Unknown Object (File)
Nov 23 2025, 8:11 PM
Subscribers

Details

Summary

The only information that find_varentry() needs and uses is
a keyword/var name. The rest of the fields in the passed VAR are
unused.

Changing its signature will ease introducing new calls to
find_varentry() in subsequent commits, as there no VAR object will exist
to be passed but just a name.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable