functions returning pointers to functions

Steve Summit stevesu at azure.UUCP
Thu Dec 15 07:51:02 AEST 1983


-----------
Crud.  It's been pointed out that I said that

		int (*getroutine))((name,table)

is, amazingly, acceptable to the pdp11 compilers.  That would be
pretty amazing.  What I meant to say was that

		int (*getroutine())(name,table)

is acceptable as well as

		int (*getroutine(name,table))()

which is correct.

Sorry 'bout that.
                                                Steve Summit



More information about the Comp.unix mailing list