summaryrefslogtreecommitdiff
path: root/lib/libc/time/strptime.3
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-05-07 08:52:44 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-05-07 08:52:44 +0000
commitcec4fba2d68884e9da4662a55153a523a76eb5f2 (patch)
tree5a14240515d8beb86153afa7864525814a1081a5 /lib/libc/time/strptime.3
parenta0836261c0d5a37e932b50e3aeb58b307b7c6c6c (diff)
typos;
Diffstat (limited to 'lib/libc/time/strptime.3')
-rw-r--r--lib/libc/time/strptime.314
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/libc/time/strptime.3 b/lib/libc/time/strptime.3
index 771bc06b8c3..ce383afb969 100644
--- a/lib/libc/time/strptime.3
+++ b/lib/libc/time/strptime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strptime.3,v 1.7 2000/10/18 05:12:12 aaron Exp $
+.\" $OpenBSD: strptime.3,v 1.8 2003/05/07 08:52:42 jmc Exp $
.\"
.\" Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -56,7 +56,8 @@ using the format specified by
The
.Fa format
string consists of zero or more directives.
-A directive is composed of either one or more whitespace as defined by
+A directive is composed of either one or more whitespace characters as
+defined by
.Fn isspace ,
an ordinary character (neither `%' nor a whitespace), or a conversion
specification.
@@ -121,9 +122,12 @@ leading zeros are permitted but not required.
the minute [0,59];
leading zeros are permitted but not required.
.It Cm \&%n
-any whitespace
+any whitespace.
.It Cm \&%p
-the locale's equivalent of a.m. or p.m..
+the locale's equivalent of
+.Dq AM
+or
+.Dq PM .
.It Cm \&%r
the time as %I:%M:%S %p.
.It Cm \&%R
@@ -132,7 +136,7 @@ the time as %H:%M.
the seconds [0,61];
leading zeros are permitted but not required.
.It Cm \&%t
-any whitespace
+any whitespace.
.It Cm \&%T
the time as %H:%M:%S.
.It Cm \&%U