diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-01-05 12:55:11 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-01-05 12:55:11 +0000 |
commit | 3f475455abd41e59bad43535e442a32b390619eb (patch) | |
tree | 6bfc187a799fe1dd1575afc167579cc095430941 | |
parent | 6b7410fa4ea8d28ea1c94aecb46870be0d657d84 (diff) |
Fix verbiage to make it clear that on success the return value of
strftime() is the number of characters printed.
POSIX verbiage verified by jmc@, ok jmc@.
-rw-r--r-- | lib/libc/time/strftime.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/time/strftime.3 b/lib/libc/time/strftime.3 index 06923f67f6e..fae70c0cdf0 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.29 2012/09/13 11:14:20 millert Exp $ +.\" $OpenBSD: strftime.3,v 1.30 2013/01/05 12:55:10 krw Exp $ .\" -.Dd $Mdocdate: September 13 2012 $ +.Dd $Mdocdate: January 5 2013 $ .Dt STRFTIME 3 .Os .Sh NAME @@ -68,7 +68,7 @@ If the total number of resulting characters, including the terminating NUL character, is not more than .Fa maxsize , .Fn strftime -returns the number of characters in the array, not counting the +returns the number of characters placed in the array, not counting the terminating NUL. Otherwise, zero is returned. .Pp |