Re: typedefing a struct



"Richard Heathfield" <rjh@xxxxxxxxxxxxxxx> wrote in message news:x9ednaqTKemUdHTbnZ2dnUVZ8srinZ2d@xxxxxxxxx
Chris Thomasson said:

<snip>

I postfix an '_s' for the struct name and a '_t' for the typedef name.
It seems to help me differentiate between the two quite easily.

...and violates a POSIX rule, so keep your nose out of c.u.p. :-)
[...]

DAMN! I totally forgot about how the POSIX namespace reserves the '_t' postfix; thank you for reminding me.

.



Relevant Pages

  • Re: A CHALLENGING problem
    ... I wasn't aware of the fact that Richard Heathfield once oppressively ... Dear "cturtle", here are some suggestions for you: ... snip portions of quoted text that are non-germaine to your ... welcome to clc: http://www.ungerhu.com/jxh/clc.welcome.txt ...
    (comp.lang.c)
  • Re: coderwiki.com is starting and needs you!
    ... Richard Heathfield wrote: ... My apologies to any chappesses in the group. ...
    (comp.lang.c)
  • Re: New non-cryptograhic hash function(s)
    ... Richard Heathfield wrote: ... C99 provides a bool type with ... expression, not a _Bool expression. ...
    (comp.programming)
  • Re: Another spinoza challenge
    ... Richard Heathfield writes: ... Since standard headers need not be files... ... college's applied maths tutor, and he kept "correcting" me to ...
    (comp.lang.c)
  • Re: dynamically allocate array variable of type LPWSTR
    ... Richard Heathfield wrote: ... expression being assigned to is complex and one would rather not repeat ... it within the malloc, so ignore the fact that one would much prefer ...
    (comp.lang.c)