function returning pointer to itself

Jim Gardner jagardner at watmath.waterloo.edu
Mon Jul 18 03:20:30 AEST 1988


Organization: U. of Waterloo, Ontario
Keywords: 

smking at lion.waterloo.edu (Scott M. King) writes:
 >
 >Oh, don't worry, I don't feel too bad. My declaration *is* correct.
 >It declares a function returning a pointer to
 >			a function returning a generic pointer.
 >[...]
 >since you can quite easily convert any pointer to a void * and back without
 >loss of information.
 
In the January 88 draft, void * is not a completely generic pointer.
It is a generic object pointer, not a function pointer. See pages 23 and 38.
Your declaration is not strictly correct.



More information about the Comp.std.c mailing list