> explain to me why a function that is clearly intended to create a side effect that is visible outside the process
This is simply not accurate. memset_s provides that guarantee. memset does not. It would appear that you have been under the impression that it did. However, it did not.