Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!botter!star!sjoerd From: sjoerd@cs.vu.nl (Sjoerd Mullender) Newsgroups: comp.sys.ibm.pc,comp.lang.c Subject: Re: Assigning to Pointers Message-ID: <266@sjoerd.cs.vu.nl> Date: Tue, 12-May-87 04:12:56 EDT Article-I.D.: sjoerd.266 Posted: Tue May 12 04:12:56 1987 Date-Received: Fri, 15-May-87 01:41:00 EDT References: <3537@vrdxhq.UUCP> <857@killer.UUCP> <6611@mimsy.UUCP> Reply-To: sjoerd@cs.vu.nl (Sjoerd Mullender) Organization: VU Informatica, Amsterdam Lines: 17 Xref: mnetor comp.sys.ibm.pc:3974 comp.lang.c:2151 In article <6611@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes: >Actually, the return value from signal is not representable, >as it is `pointer to function returning pointer to function >returning pointer to function returning ...', with no final >type. Instead, we all cheat and use `pointer to function >returning int' (or, in some cases, `returning void'). We'll all agree that signal returns a pointer to some sort of function. That function is the signal handler for a certain signal. This means that it is int function (or sometimes void). So signal is a function returning a pointer to a function returning int (or void). In other words: int (*signal())(); -- Sjoerd Mullender sjoerd@cs.vu.nl