Correct the documentation for snprintf() and vsprintf() which actually
return the number of characters that would have been in the new string. Obtained from: OpenBSD MFC after: 3 days
This commit is contained in:
parent
1c11b01562
commit
1259dd85eb
@ -118,7 +118,18 @@ These functions return
|
||||
the number of characters printed
|
||||
(not including the trailing
|
||||
.Ql \e0
|
||||
used to end output to strings).
|
||||
used to end output to strings),
|
||||
except for
|
||||
.Fn snprintf
|
||||
and
|
||||
.Fn vsnprintf ,
|
||||
which return the number of characters that would have been printed if the
|
||||
.Fa size
|
||||
were unlimited
|
||||
.Po
|
||||
again, not including the final
|
||||
.Ql \e0
|
||||
.Pc .
|
||||
.Pp
|
||||
.Fn Asprintf
|
||||
and
|
||||
|
Loading…
x
Reference in New Issue
Block a user