News for hackers. Stuff that matters.
Re:Ask HN: How do I learn C properly? by saagarjha on Sunday March 08, 2020 @07:40PM (#22521514)
> _t suffix is the notion used to denote a typedef for a given type /* This example is from do_journal.c in e2fsprogs / struct journal_transaction_s { ... blk64_t start, end; ... }; typedef struct journal_transaction_s journal_transaction_t;

This is undefined behavior in POSIX.

Re:Ask HN: How do I learn C properly? by clarry on Monday March 09, 2020 @03:59AM (#22523752)
And

    unsigned total(unsigned a, unsigned b) { return a + b; }
is undefined behavior in C.