Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site vaxine.UUCP Path: utzoo!linus!decvax!wanginst!vaxine!reg From: reg@vaxine.UUCP (Rick Genter) Newsgroups: net.lang.c Subject: How to declare a pointer to function returning pointer to function Message-ID: <630@vaxine.UUCP> Date: Tue, 27-Aug-85 09:35:42 EDT Article-I.D.: vaxine.630 Posted: Tue Aug 27 09:35:42 1985 Date-Received: Thu, 29-Aug-85 22:21:57 EDT Organization: Automatix, Inc., Billerica, MA Lines: 23 I couldn't resist trying this. Cdecl claims no problem declaring something to be a pointer to a function returning a pointer to a function returning int: Script started on Tue Aug 27 09:27:43 1985 % cdecl declare x as pointer to function returning pointer to function returning int int (*(*x)())() % Script done on Tue Aug 27 09:28:32 1985 No, that's not lisp ... :-) - reg Rick Genter Automatix Inc. ...!decvax!encore!vaxine!reg (Note: As of next week (9/3/85) I will be at BBN Labs. I don't know what my new electronic address will be).