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)
Fri, Dec 27, 8:20 PM
Unknown Object (File)
Dec 8 2024, 2:32 AM
Unknown Object (File)
Nov 7 2024, 3:58 PM
Unknown Object (File)
Oct 24 2024, 12:32 AM
Unknown Object (File)
Oct 1 2024, 4:52 AM
Unknown Object (File)
Oct 1 2024, 4:46 AM
Unknown Object (File)
Oct 1 2024, 2:19 AM
Unknown Object (File)
Sep 19 2024, 2:54 PM
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