Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/lib/libc/time Pull up revision 1.10 (requested by wiz):
details: https://anonhg.NetBSD.org/src/rev/ce0d922eb125
branches: netbsd-1-5
changeset: 491059:ce0d922eb125
user: he <he%NetBSD.org@localhost>
date: Wed Apr 04 16:04:13 2001 +0000
description:
Pull up revision 1.10 (requested by wiz):
Improve some markup.
diffstat:
lib/libc/time/strptime.3 | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 0271cba27bde -r ce0d922eb125 lib/libc/time/strptime.3
--- a/lib/libc/time/strptime.3 Wed Apr 04 16:03:12 2001 +0000
+++ b/lib/libc/time/strptime.3 Wed Apr 04 16:04:13 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: strptime.3,v 1.8 1998/05/05 14:24:00 tv Exp $
+.\" $NetBSD: strptime.3,v 1.8.10.1 2001/04/04 16:04:13 he Exp $
.\"
.\" Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -50,7 +50,9 @@
.Fn strptime
function converts the character string pointed to by
.Fa buf
-to values which are stored in the ``tm'' structure pointed to by
+to values which are stored in the
+.Va tm
+structure pointed to by
.Fa tm ,
using the format specified by
.Fa format .
@@ -72,8 +74,10 @@
.Fa buf ,
including none.
.Pp
-A conversion specification consists of a percent sign `%' followed by one
-or two conversion characters which specify the replacement required.
+A conversion specification consists of a percent sign
+.Ql %
+followed by one
+or two conversion characters which specify the replacement required.
There must be white-space or other non-alphanumeric characters between any
two conversion specifications.
.Pp
@@ -190,7 +194,7 @@
unmodified conversion specification were used.
.Sh RETURN VALUES
If successful, the
-.Nm
+.Fn strptime
function returns a pointer to the character following the last character
parsed. Otherwise, a null pointer is returned.
.Sh SEE ALSO
Home |
Main Index |
Thread Index |
Old Index