assignment of function pointers with different templates
James Buster bitbug@btr.com
bitbug at public.BTR.COM
Thu Jun 27 06:54:20 AEST 1991
If I have two function pointers with different templates, e.g.
void (*fptr1) (int signo);
void (*fptr2) (int signo, void *value);
and I perform the following assignment, presuming fptr1 and fptr2 have
previously been initialized
fptr1 = fptr2
is this assignment, and any resulting function call, according to ANSI,
undefined or implementation defined? I am waiting for my copy of the ANSI
Standard to arrive, so I am asking here in the meantime.
--
James Buster
bitbug at btr.com
Seen on an MLS machine: Live Free or Die!
More information about the Comp.std.c
mailing list