[TUHS] C declarations.
Dave Horsfall
dave at horsfall.org
Sun May 14 12:23:38 AEST 2017
On Sat, 13 May 2017, Lawrence Stewart wrote:
> * - But I have never been able to remember the syntax for function
> pointers. I always “man qsort” to refresh my memory.
"cdecl" is your friend:
% cdecl
Type `help' or `?' for help
declare foo as pointer to function (int, double) returning void
void (*foo)(int , double )
--
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer."
More information about the TUHS
mailing list