3 ms·
Certain standard-library functions actually do seem to get special treatment by the C standard. memcpy and memmove get special treatment regarding effective ty
by MaxBarraclough 7y ago
Certain standard-library functions actually do seem to get special treatment by the C standard.
memcpy and memmove get special treatment regarding effective type. I don't think there's any such special treatment for memset.
https://en.cppreference.com/w/c/language/object#Effective_type https://en.cppreference.com/w/c/language/object#Effective_ty...
> Don't blame the specifications, blame the compiler if you want.
We're not talking about bugs in compilers (in which case you can blame the compiler), we're talking about standards-compliant compilers (in which case you blame the standard).