On Mon, Nov 29, 2021 at 12:52:06AM -0700, arnold(a)skeeve.com wrote:
arnold(a)skeeve.com wrote:
void myproc();
void (*functptr) = myproc;
...
funcptr()
Make that
void (*funcptr)() = myproc.
Sorry.
Function pointers are the one part of C that I have to relearn every time.
--
---
Larry McVoy lm at
mcvoy.com http://www.mcvoy.com/lm