summaryrefslogtreecommitdiff
path: root/lib/libc/time
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
parenta0836261c0d5a37e932b50e3aeb58b307b7c6c6c (diff)
typos;
Diffstat (limited to 'lib/libc/time')
-rw-r--r--lib/libc/time/ctime.36
-rw-r--r--lib/libc/time/strptime.314
-rw-r--r--lib/libc/time/time2posix.38
3 files changed, 16 insertions, 12 deletions
diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3
index 6fbed611128..bb6472a98cf 100644
--- a/lib/libc/time/ctime.3
+++ b/lib/libc/time/ctime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ctime.3,v 1.25 2003/02/14 18:24:53 millert Exp $
+.\" $OpenBSD: ctime.3,v 1.26 2003/05/07 08:52:42 jmc Exp $
.\"
.\"
.Dd February 16, 1999
@@ -115,7 +115,7 @@ and
.Fn gmtime_r
functions convert the calendar time pointed to by
.Fa clock
-into a broken-down time in exactly the same was as their non-reentrant
+into a broken-down time in exactly the same way as their non-reentrant
counterparts,
.Fn localtime
and
@@ -186,7 +186,7 @@ and
are determined.
.Fn mktime
returns the specified calendar time;
-If the calendar time cannot be represented,
+if the calendar time cannot be represented,
it returns \-1.
.Pp
.Fn timelocal
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
diff --git a/lib/libc/time/time2posix.3 b/lib/libc/time/time2posix.3
index 11aff5fa1c2..0d1ce76134d 100644
--- a/lib/libc/time/time2posix.3
+++ b/lib/libc/time/time2posix.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: time2posix.3,v 1.10 2000/08/09 15:56:44 aaron Exp $
+.\" $OpenBSD: time2posix.3,v 1.11 2003/05/07 08:52:42 jmc Exp $
.Dd May 24, 1999
.Dt TIME2POSIX 3
.Os
@@ -45,9 +45,9 @@ is intended to be
.Pq mostly
opaque.
.Fa time_t
-values should only be obtained-from and
-passed-to functions such as
-.Xr time 3 ,
+values should only be obtained from and
+passed to functions such as
+.Xr time 3 ,
.Xr localtime 3 ,
.Xr mktime 3 ,
and