aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2025-12-27 16:21:37 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2025-12-29 01:16:25 +0000
commit14bd57d0a78dcd98449597fd3e19749799e36935 (patch)
tree4a26f981e4eca151e4872a020da3aa1a6166512a
parent2904edaf2f09934142f9f6a6d2886879395145cc (diff)
exterror.9: describe formatting of optional arguments
Reviewed by: emaste, mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54380
-rw-r--r--share/man/man9/exterror.910
1 files changed, 10 insertions, 0 deletions
diff --git a/share/man/man9/exterror.9 b/share/man/man9/exterror.9
index fd4b732b8213..a7c7a11d1315 100644
--- a/share/man/man9/exterror.9
+++ b/share/man/man9/exterror.9
@@ -90,6 +90,16 @@ The
.Fn EXTERROR
macro can take two optional 64-bit integer arguments,
whose meaning is specific to the subsystem.
+The format string may include up to two printf-like format
+specifiers to insert the optional argument values in the
+user output, which is done in userspace.
+.Pp
+The format specifier must be for an integer type, and include the
+.Dq j
+format modifier to accept only the types
+.Vt intmax_t
+or
+.Vt uintmax_t .
.El
.Pp
The strings passed as the second argument are only retained