www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - memset_s

A function+its semantics from C11 that seems good to have in D 
too:

memset(): The standard guarantees that memset_s will over-write 
the argument array, even if the optimizer thinks that those 
stores are "useless," such as when over-writing a password 
before leaving a function.<
From: www.drdobbs.com/article/print?articleId=232901670 Bye, bearophile
May 18 2012