News for hackers. Stuff that matters.
Re:Everything in C is undefined behavior by RobotToaster on Wednesday May 20, 2026 @06:52AM (#48205737)
With volatile it could be changed by an interrupt service routine between reads, so it makes sense.
Re:Everything in C is undefined behavior by nomel on Wednesday May 20, 2026 @02:04PM (#48211648)
Or, it could be hardware that has a "clear flag on read" type behavior.