Date: Mon, 05 Jan 2026 01:25:32 +0000 From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: a3b3ac646d9c - stable/15 - exterror.9: describe formatting of optional arguments Message-ID: <695b130c.3a25f.6a8afb53@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=a3b3ac646d9cd58a6c86f334aac343e75ba8187b commit a3b3ac646d9cd58a6c86f334aac343e75ba8187b Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-12-27 16:21:37 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2026-01-05 00:44:20 +0000 exterror.9: describe formatting of optional arguments (cherry picked from commit 14bd57d0a78dcd98449597fd3e19749799e36935) --- share/man/man9/exterror.9 | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 retainedhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?695b130c.3a25f.6a8afb53>
