fix return values for snprintf and vsnprintf.
This commit is contained in:
parent
6be7b1d936
commit
20ffd1f752
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: printf.3,v 1.46 2008/12/11 09:07:46 wiz Exp $
|
||||
.\" $NetBSD: printf.3,v 1.47 2008/12/16 23:09:19 christos Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1990, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -33,7 +33,7 @@
|
||||
.\"
|
||||
.\" @(#)printf.3 8.1 (Berkeley) 6/4/93
|
||||
.\"
|
||||
.Dd June 9, 2007
|
||||
.Dd December 16, 2008
|
||||
.Dt PRINTF 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -704,7 +704,11 @@ width, the
|
||||
field is expanded to contain the conversion result.
|
||||
.Sh RETURN VALUES
|
||||
These functions return
|
||||
the number of characters printed
|
||||
the number of characters printed, or that would be printed if there
|
||||
was adequate space in case of
|
||||
.Fn snprintf
|
||||
and
|
||||
.Fn vsnprintf ,
|
||||
(not including the trailing
|
||||
.Ql \e0
|
||||
used to end output to strings).
|
||||
|
Loading…
Reference in New Issue
Block a user