A followup to my typedefs article
Doug Gwyn
gwyn at brl-vgr.ARPA
Fri Mar 9 22:43:14 AEST 1984
I don't understand the results of your typedef "poll".
Typedefs help MOST when they are applied to pointers.
I use typedefs sparingly, since they do not add any real power to the
C language. The main usage I have is
typedef int bool;
so I can carefully distinguish between booleans and integers. If "lint"
would not consider a "bool" so defined to be also an "int" it would help.
More information about the Comp.lang.c
mailing list