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, Apr 16, 5:42 PM
Unknown Object (File)
Mar 9 2024, 9:15 PM
Unknown Object (File)
Mar 9 2024, 9:14 PM
Unknown Object (File)
Mar 9 2024, 9:13 PM
Unknown Object (File)
Mar 9 2024, 8:55 PM
Unknown Object (File)
Dec 20 2023, 5:47 AM
Unknown Object (File)
Dec 12 2023, 12:19 PM
Unknown Object (File)
Nov 30 2023, 7:07 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