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, Sep 6, 9:46 AM
Unknown Object (File)
Sat, Sep 5, 12:20 PM
Unknown Object (File)
Sat, Sep 5, 11:52 AM
Unknown Object (File)
Sat, Sep 5, 7:59 AM
Unknown Object (File)
Sat, Sep 5, 6:19 AM
Unknown Object (File)
Thu, Sep 3, 11:20 PM
Unknown Object (File)
Thu, Sep 3, 2:37 AM
Unknown Object (File)
Wed, Sep 2, 12:04 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