Note the ambiguity of the return value in the BUGS section.
From Christian Biere <christianbiere@gmx.de> in PR #39392.
This commit is contained in:
parent
79b996cbc6
commit
61564b38a1
|
@ -30,9 +30,9 @@
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91
|
.\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91
|
||||||
.\" $NetBSD: strftime.3,v 1.24 2009/04/11 16:15:27 joerg Exp $
|
.\" $NetBSD: strftime.3,v 1.25 2010/04/29 10:03:12 jruoho Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd April 14, 2004
|
.Dd April 29, 2010
|
||||||
.Dt STRFTIME 3
|
.Dt STRFTIME 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -240,3 +240,10 @@ For example, the first week of the year 1997 lasts from
|
||||||
1996-12-30 to 1997-01-05.
|
1996-12-30 to 1997-01-05.
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
There is no conversion specification for the phase of the moon.
|
There is no conversion specification for the phase of the moon.
|
||||||
|
.Pp
|
||||||
|
A return value of zero does not necessarily indicate an error.
|
||||||
|
If the resulting string is an empty string, the result value is
|
||||||
|
zero and it is not possible to distinguish between success and error.
|
||||||
|
For example, in many locales
|
||||||
|
.Cm \&%p
|
||||||
|
yields an empty string.
|
||||||
|
|
Loading…
Reference in New Issue