View mode: basic / threaded / horizontal-split · Log in · Help
May 18, 2012
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
Top | Discussion index | About this forum | D home