On 2023-03-11 13:31, Alejandro Colomar wrote: > What's this &dummy exactly for? It avoids undefined behavior. A call like strftime (buf, sizeof buf, "XXX", NULL) has undefined behavior, as near as I can make out. It's OK that the dummy is uninitialized.