document change in {,v}snprintf() behavior.
This commit is contained in:
parent
2d406de167
commit
1c792deed9
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: kprintf.9,v 1.31 2011/07/17 20:54:35 joerg Exp $
|
||||
.\" $NetBSD: kprintf.9,v 1.32 2012/11/21 17:18:11 christos Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1998, 2002, 2007, 2011 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -27,7 +27,7 @@
|
||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd January 21, 2011
|
||||
.Dd November 21, 2012
|
||||
.Dt KPRINTF 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -250,9 +250,13 @@ The
|
||||
.Fn snprintf
|
||||
and
|
||||
.Fn vsnprintf
|
||||
functions return the number of characters placed in the buffer
|
||||
functions return the number of characters that would have been placed
|
||||
in the buffer
|
||||
.Fa buf .
|
||||
This is different to the user-space functions of the same name.
|
||||
if there was enough space in the buffer, not including the trailing
|
||||
.Dv NUL
|
||||
character used to terminate output strings like the user-space functions
|
||||
of the same name.
|
||||
.Pp
|
||||
The
|
||||
.Fn tprintf_open
|
||||
|
Loading…
Reference in New Issue
Block a user