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)
Wed, May 20, 3:20 AM
Unknown Object (File)
Wed, May 20, 12:21 AM
Unknown Object (File)
Mon, May 18, 5:37 AM
Unknown Object (File)
Sat, May 16, 9:21 PM
Unknown Object (File)
Wed, May 13, 5:37 PM
Unknown Object (File)
Wed, May 13, 5:37 PM
Unknown Object (File)
Wed, May 13, 5:21 PM
Unknown Object (File)
Tue, May 12, 11:17 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