[Simh] The genius of C declarations

Robert Armstrong bob at jfcl.com
Mon Jun 29 18:31:14 EDT 2015


  Everybody does know about the cdecl utility, right?

	bob at falsetto:~$ cdecl
	void *foo(void);
	declare foo as function that expects (void) returning pointer to void;
	void (*foo)(void);
	declare foo as pointer to function that expects (void) returning void;
	void foo(void);
	declare foo as function that expects (void) returning void;
	^C

It's available as a package for most Un*x and Linux distributions...

Bob



More information about the Simh mailing list