Mark up occurence of printf() in text with .Fn

This commit is contained in:
uwe 2013-01-20 11:01:17 +00:00
parent dd48d6e3aa
commit 3d030c8904
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: printf.3,v 1.60 2013/01/20 10:57:19 uwe Exp $
.\" $NetBSD: printf.3,v 1.61 2013/01/20 11:01:17 uwe Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -884,7 +884,9 @@ Be sure to use the proper secure idiom:
snprintf(buffer, sizeof(buffer), "%s", string);
.Ed
.Pp
There is no way for printf to know the size of each argument passed.
There is no way for
.Fn printf
to know the size of each argument passed.
If you use positional arguments you must ensure that all parameters, up to the
last positionally specified parameter, are used in the format string.
This allows for the format string to be parsed for this information.