From 4ad94864781f48b1a4b77f9cfb934622bf756ba1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Jun 2024 12:51:52 +0200 Subject: Adding upstream version 4.23.0. Signed-off-by: Daniel Baumann --- upstream/debian-unstable/man3/printf.h.3head | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'upstream/debian-unstable/man3/printf.h.3head') diff --git a/upstream/debian-unstable/man3/printf.h.3head b/upstream/debian-unstable/man3/printf.h.3head index 1c6ad32c..9cef3763 100644 --- a/upstream/debian-unstable/man3/printf.h.3head +++ b/upstream/debian-unstable/man3/printf.h.3head @@ -2,7 +2,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH printf.h 3head 2022-09-18 "Linux man-pages 6.05.01" +.TH printf.h 3head 2024-05-02 "Linux man-pages 6.8" .SH NAME printf.h, \%register_printf_specifier, @@ -33,7 +33,7 @@ Standard C library .SH SYNOPSIS .nf .B #include -.PP +.P .BI "int register_printf_specifier(int " spec ", printf_function " func , .BI " printf_arginfo_size_function " arginfo ); .BI "int register_printf_modifier(const wchar_t *" str ); @@ -148,7 +148,7 @@ or a custom one, and optionally ORed with an appropriate length modifier .RB ( PA_FLAG_ *). .RS -.PP +.P The type is determined by using one of the following constants: .TP .B PA_INT @@ -188,7 +188,7 @@ For user-defined types, the size of the type (in bytes) should also be specified through this array. Otherwise, leave it unused. .RE -.PP +.P .I arginfo is called before .IR func , @@ -209,7 +209,7 @@ The callback of type .I printf_function should return the number of characters written, or \-1 on error. -.PP +.P The callback of type .I \%printf_arginfo_size_function should return the number of arguments to be parsed by this specifier. @@ -229,16 +229,16 @@ is an older function similar to .BR \%register_printf_specifier (), and is now deprecated. That function can't handle user-defined types. -.PP +.P .BR \%register_printf_specifier () -superseeds +supersedes .BR \%register_printf_function (3). .SH EXAMPLES The following example program registers the 'b' and 'B' specifiers to print integers in binary format, mirroring rules for other unsigned conversion specifiers like 'x' and 'u'. This can be used to print in binary prior to C23. -.PP +.P .\" SRC BEGIN (register_printf_specifier.c) .EX /* This code is in the public domain */ -- cgit v1.2.3