Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!public!bitbug From: bitbug@public.BTR.COM (James Buster bitbug@btr.com) Newsgroups: comp.std.c Subject: assignment of function pointers with different templates Message-ID: <3212@public.BTR.COM> Date: 26 Jun 91 20:54:20 GMT Distribution: na Organization: BTR Public Access UNIX, MtnView CA. Contact: Customer Service cs@BTR.COM Lines: 17 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!