function returning pointer to itself

Steven Ryan smryan at garth.UUCP
Mon Jul 18 06:28:00 AEST 1988


Given C and Unix's disdain for NIH, I suppose I shouldn't say this, but
in Algol 68 it's

         mode yinyang = proc(parameter)yinyang

or

         mode yinyang = proc struct(yinyang value)

---------------------------------------------------------------------
NIH = not invented here

If you're curious about proc struct(...) instead of proc yinyang, it has
to do with wellformed modes--something pascal screws up.



More information about the Comp.std.c mailing list