TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Roy J. Tellason
from: Jasen Betts
date: 2004-05-05 06:58:16
subject: Function Pointer Redux

Hi Roy.

03-May-04 20:06:34, Roy J. Tellason wrote to Bill Birrell


 RJT> Bill Birrell wrote in a message to Neil Heller:

  >> Given the following line of code:

  >> typedef void * (*x) (void *)

  >> What does this statement declare?

  >> What is x?

 BB>> Hi Neil,

 BB>> There is a little utility called cdecl.exe that allegedly answers
 BB>> precisely this type of question. It reports that one as a syntax
 BB>> error.

 BB>> Do you want a copy?

 RJT> Is the source available?   :-)

It's public domain as far as I can tell.  there's source out there (it
originated in usenet:comp.lang.c), but there was a binary on disk 3 of my
debian set (so I stopped looking), judging from the README file you'll need
lex (or flex) and yacc (or bison), (and of course a C compiler) to compile
the source, so if you want it for a dos/windows
machine it may be easier to just download a binary. (www.delorie.org has
been a good starting point for locating dos ports of that sort of stuff)

slightly modified source is at sunsite.unc.edu in /pub/Linux/devel/lang/c

Not having seen the source only having run the binary it's the sort of
thing I'd expect to be easily portable.

 -=> Bye <=-

---
* Origin: Darth Vader sleeps with a Teddywookie. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.