Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!qantel!lll-crg!seismo!brl-tgr!tgr!jeff@isi-vaxa.arpa From: jeff@isi-vaxa.arpa (Jeffery A. Cavallaro) Newsgroups: net.lang.c Subject: NULL ROUTINE POINTERS Message-ID: <139@brl-tgr.ARPA> Date: Wed, 27-Nov-85 20:08:34 EST Article-I.D.: brl-tgr.139 Posted: Wed Nov 27 20:08:34 1985 Date-Received: Fri, 29-Nov-85 21:45:32 EST Sender: news@brl-tgr.ARPA Lines: 18 After all the talk about null object pointers on machines with non-zero null addresses, how would you portably define a null routine pointer?: Assume that the routine returns a short, - The following don't seem to work: #define NULLROUTINE ((short *()) 0) #define NULLROUTINE ((short *) 0()) And: #define NULLROUTINE ((short *0)()) or #define NULLROUTINE ((short)(*0)()) If all of the above make no sense...Then what? Jeff