Page MenuHomeFreeBSD

mail: Use a C89 function pointer type for command functions.
ClosedPublic

Authored by jhb on Apr 12 2023, 3:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 2, 5:25 AM
Unknown Object (File)
Fri, Nov 14, 6:01 AM
Unknown Object (File)
Mon, Nov 10, 5:26 AM
Unknown Object (File)
Oct 20 2025, 4:38 AM
Unknown Object (File)
Oct 15 2025, 11:03 PM
Unknown Object (File)
Oct 13 2025, 6:53 AM
Unknown Object (File)
Oct 6 2025, 7:50 AM
Unknown Object (File)
Sep 16 2025, 1:18 AM
Subscribers

Details

Summary

The command function is defined to always take a void *. Functions
which accept a pointer to an array of pointers use a local temporary
'argv' assigned from the void *arg.

Diff Detail

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