summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/fmtcheck.3
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2008-08-02 06:02:42 +0000
committerdas <das@FreeBSD.org>2008-08-02 06:02:42 +0000
commit70fb465112f35080b4e32bb86725c9aa26ca1a96 (patch)
tree9bc7f0da28dd06dfb99fbea365f049c421739e33 /lib/libc/gen/fmtcheck.3
parent6781fcee0fd409a644e5fc8f8fe7edcd82c1819f (diff)
downloadFreeBSD-src-70fb465112f35080b4e32bb86725c9aa26ca1a96.zip
FreeBSD-src-70fb465112f35080b4e32bb86725c9aa26ca1a96.tar.gz
Teach fmtcheck() about wint_t, intmax_t, char *, intmax_t *, and
wide string arguments. Also simplify the code that handles length modifiers and make it more conservative. For instance, be explicit about the modifiers allowed for %d, rather than assuming that anything other than L, q, t, or z implies an int argument.
Diffstat (limited to 'lib/libc/gen/fmtcheck.3')
-rw-r--r--lib/libc/gen/fmtcheck.34
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/gen/fmtcheck.3 b/lib/libc/gen/fmtcheck.3
index 3663558..782526d 100644
--- a/lib/libc/gen/fmtcheck.3
+++ b/lib/libc/gen/fmtcheck.3
@@ -112,6 +112,4 @@ the first requires an integer and the second requires a long.
.Sh BUGS
The
.Fn fmtcheck
-function does not understand all of the conversions that
-.Xr printf 3
-does.
+function does not recognize positional parameters.
OpenPOWER on IntegriCloud