summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2016-02-08 20:05:43 +0000
committertedu <tedu@openbsd.org>2016-02-08 20:05:43 +0000
commit239482aee7bfef86eaedf45fd32ab2e3f373fc91 (patch)
tree2ef84bf8351f1b69d994121973ee2fd0109f019b /lib/libc
parentsslv3 has been removed; (diff)
downloadwireguard-openbsd-239482aee7bfef86eaedf45fd32ab2e3f373fc91.tar.xz
wireguard-openbsd-239482aee7bfef86eaedf45fd32ab2e3f373fc91.zip
mention mktime, since that is where struct tm is described. ok schwarze
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/time/strftime.36
-rw-r--r--lib/libc/time/strptime.38
2 files changed, 9 insertions, 5 deletions
diff --git a/lib/libc/time/strftime.3 b/lib/libc/time/strftime.3
index 1dd0cd00b23..8e75f689aae 100644
--- a/lib/libc/time/strftime.3
+++ b/lib/libc/time/strftime.3
@@ -30,9 +30,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91
-.\" $OpenBSD: strftime.3,v 1.34 2015/01/29 01:46:31 schwarze Exp $
+.\" $OpenBSD: strftime.3,v 1.35 2016/02/08 20:05:43 tedu Exp $
.\"
-.Dd $Mdocdate: January 29 2015 $
+.Dd $Mdocdate: February 8 2016 $
.Dt STRFTIME 3
.Os
.Sh NAME
@@ -47,6 +47,8 @@ The
.Fn strftime
function formats the information from
.Fa timeptr
+(as described in
+.Xr mktime 3 )
into the buffer
.Fa buf
according to the string pointed to by
diff --git a/lib/libc/time/strptime.3 b/lib/libc/time/strptime.3
index 05becef8137..6b66d06aa0c 100644
--- a/lib/libc/time/strptime.3
+++ b/lib/libc/time/strptime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strptime.3,v 1.24 2014/12/04 00:10:40 schwarze Exp $
+.\" $OpenBSD: strptime.3,v 1.25 2016/02/08 20:05:43 tedu Exp $
.\"
.\" Copyright (c) 1997, 1998, 2005, 2008 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: December 4 2014 $
+.Dd $Mdocdate: February 8 2016 $
.Dt STRPTIME 3
.Os
.Sh NAME
@@ -44,7 +44,9 @@ function parses the string
according to the specified
.Fa format
and fills matching data into the structure
-.Fa tm .
+.Fa tm
+(described in
+.Xr mktime 3 ) .
.Pp
The
.Fa format