diff options
| author | sevan <sevan@NetBSD.org> | 2016-08-04 16:36:45 +0000 |
|---|---|---|
| committer | sevan <sevan@NetBSD.org> | 2016-08-04 16:36:45 +0000 |
| commit | da9832d8d11ba855b9c709bd96fd32bcd0b89786 (patch) | |
| tree | 84cede4a9a3402ef0bd29407954bede19cf79033 /lib/libc/string | |
| parent | 0cfc8e82eb56f30453776936770db9b7b13f19f6 (diff) | |
Grammar
Diffstat (limited to 'lib/libc/string')
| -rw-r--r-- | lib/libc/string/memset.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/memset.3 b/lib/libc/string/memset.3 index 5e86b8dc1b8..949979c70eb 100644 --- a/lib/libc/string/memset.3 +++ b/lib/libc/string/memset.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)memset.3 8.1 (Berkeley) 6/4/93 -.\" $NetBSD: memset.3,v 1.12 2013/06/24 07:56:49 wiz Exp $ +.\" $NetBSD: memset.3,v 1.13 2016/08/04 16:36:45 sevan Exp $ .\" .Dd June 23, 2013 .Dt MEMSET 3 @@ -64,7 +64,7 @@ returns the original value of Note that the compiler may optimize away a call to .Fn memset if it can prove that the string will not be used by the program again, -for example if it is allocated on the stack and about to out of scope. +for example if it is allocated on the stack and about to go out of scope. If you want to guarantee that zeros are written to memory, for example to sanitize a buffer holding a cryptographic secret, use .Xr explicit_memset 3 . |
