summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2010-04-12 01:17:33 +0000
committertedu <tedu@openbsd.org>2010-04-12 01:17:33 +0000
commitf3d7ea5ed55edad3c1d17023b6ace35832f70afe (patch)
tree4a46c702889439c84036bb80880f54deba3d8e76
parentIncrease limit on the length of "user" in user@domain.com to a value (diff)
downloadwireguard-openbsd-f3d7ea5ed55edad3c1d17023b6ace35832f70afe.tar.xz
wireguard-openbsd-f3d7ea5ed55edad3c1d17023b6ace35832f70afe.zip
clarify that strptime reads, not writes, strings when handling %%.
ok deraadt jmc
-rw-r--r--lib/libc/time/strptime.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/time/strptime.3 b/lib/libc/time/strptime.3
index 597edb1b83d..e80df22b21d 100644
--- a/lib/libc/time/strptime.3
+++ b/lib/libc/time/strptime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strptime.3,v 1.12 2008/10/19 11:50:35 millert Exp $
+.\" $OpenBSD: strptime.3,v 1.13 2010/04/12 01:17:33 tedu Exp $
.\"
.\" Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -26,7 +26,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 19 2008 $
+.Dd $Mdocdate: April 12 2010 $
.Dt STRPTIME 3
.Os
.Sh NAME
@@ -164,7 +164,7 @@ Leading zeros are permitted but not required.
.It Cm \&%Y
the year, including the century (i.e., 1998).
.It Cm \&%%
-A `%' is written.
+A `%' is read.
No argument is converted.
.El
.Pp