News for hackers. Stuff that matters.

awbrown

Re:Principles for C programming on Thursday March 16, 2017 @04:36AM (#13883449)
> 'I typedef my structs all the time, and call them something_t, and * something_p’

I wish people would stop perpetuating this particular naming convention. Its in violation of POSIX which specifically reserves the entire *_t ‘namespace’. Obviously its fine if this is done on a system or environment for which this is irrelevant, but its best avoided otherwise.