3 ms·
The C language specification describes what memset does. If a program calls memset, compilers must make it behave as if an actual call to the memset function (a
by gavinsyancey 2y ago
The C language specification describes what memset does. If a program calls memset, compilers must make it behave as if an actual call to the memset function (as described in the standard) was made, for all observable effects that matter to the abstract machine.
- pjc50 2y ago.. unless the compiler spots UB anywhere near the function call, in which case all bets are off.