News for hackers. Stuff that matters.
Re:Beej's Guide to C Programming by ape4 on Wednesday March 29, 2023 @01:33PM (#35360483)
In the time section it has:

    .tm_sec=04,    // seconds after the minute -- [0, 60]
Since a leading zero means octal I wouldn't suggest writing a number this way. Of course, in the case octal 4 == decimal 4.
Re:Beej's Guide to C Programming by beej71 on Wednesday March 29, 2023 @08:45PM (#35366159)
Good catch... I warn people of this very problem elsewhere in the guide. :)

Lucky I didn't go with nine...