summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/memset.34
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 .