[comp.std.c] assignment of function pointers with different templates

bitbug@public.BTR.COM (James Buster bitbug@btr.com) (06/27/91)

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@btr.com
		Seen on an MLS machine: Live Free or Die!