Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site gatech.CSNET
Path: utzoo!watmath!clyde!bonnie!akgua!gatech!arnold
From: arnold@gatech.CSNET (Arnold Robbins)
Newsgroups: net.lang.c
Subject: Re: How do I declare...
Message-ID: <1001@gatech.CSNET>
Date: Sun, 25-Aug-85 13:38:54 EDT
Article-I.D.: gatech.1001
Posted: Sun Aug 25 13:38:54 1985
Date-Received: Mon, 26-Aug-85 01:29:16 EDT
References: <368@persci.UUCP> <159@rtp47.UUCP>
Organization: Pr1mebusters!
Lines: 23

In article <159@rtp47.UUCP>, throopw@rtp47.UUCP (Wayne Throop) writes:
> [....]  Nor can you declare functions returning pointers to functions. [...]

I couldn't let this one go. Take a look at /usr/include/signal.h:

int	(*signal())();

This is a function returning a pointer to a function returning integer.
The casts for SIG_IGN and friends are also interesting:

#define	SIG_DFL		(int (*)())0
#define	SIG_IGN		(int (*)())1
#define	SIG_CATCH	(int (*)())2
#define	SIG_HOLD	(int (*)())3

'Nuf said.
-- 
Arnold Robbins
CSNET:	arnold@gatech	ARPA:	arnold%gatech.csnet@csnet-relay.arpa
UUCP:	{ akgua, allegra, hplabs, ihnp4, seismo, ut-sally }!gatech!arnold

Hello. You have reached the Coalition to Eliminate Answering Machines.
Unfortunately, no one can come to the phone right now....