3 ms·
> Isn't memset different in that it's an external function that compiler writers have chosen to intercept and perform themselves? The semantics of memset and m
by chrisseaton 5y ago
> Isn't memset different in that it's an external function that compiler writers have chosen to intercept and perform themselves?
The semantics of memset and memset_s are defined by a standard. They're not unknown functions that could do anything, and they're breaking a rule by treating them differently, like you're suggesting they are.