DEV Community

Discussion on: C coding quality tips

Collapse
 
ac000 profile image
Andrew Clayton

For your types you could typedef the POSIX fixed width types then you wouldn't need to change them, or you could just use them directly.

However they kind of look naff, so better to use nice short names like here, you'll find these are kind of standard, they are used throughout the Linux Kernel..

Collapse
 
longevitysoftware profile image
Graham Long • Edited

Good point for POSIX systems, I love the short type names as well.