3 ms·C now has a memset_s() function to do this.by andreyv 7y agoC now has a memset_s() function to do this.