diff options
Diffstat (limited to 'man3head')
-rw-r--r-- | man3head/printf.h.3head | 16 | ||||
-rw-r--r-- | man3head/sysexits.h.3head | 12 |
2 files changed, 14 insertions, 14 deletions
diff --git a/man3head/printf.h.3head b/man3head/printf.h.3head index 1c6ad32..8f1b9a0 100644 --- a/man3head/printf.h.3head +++ b/man3head/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-03-14 "Linux man-pages 6.7" .SH NAME printf.h, \%register_printf_specifier, @@ -33,7 +33,7 @@ Standard C library .SH SYNOPSIS .nf .B #include <printf.h> -.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 */ diff --git a/man3head/sysexits.h.3head b/man3head/sysexits.h.3head index a1b8d08..f373234 100644 --- a/man3head/sysexits.h.3head +++ b/man3head/sysexits.h.3head @@ -8,7 +8,7 @@ .\" .\" Rewritten for the Linux man-pages by Alejandro Colomar .\" -.TH sysexits.h 3head 2023-03-30 "Linux man-pages 6.05.01" +.TH sysexits.h 3head 2023-10-31 "Linux man-pages 6.7" .SH NAME sysexits.h \- exit codes for programs .SH LIBRARY @@ -23,11 +23,11 @@ lB2 lB2 l1 lX. #define EX_OK 0 /* T{ successful termination */ T} -.PP +.P #define EX__BASE 64 /* T{ base value for error messages */ T} -.PP +.P #define EX_USAGE 64 /* T{ command line usage error */ T} @@ -73,7 +73,7 @@ T} #define EX_CONFIG 78 /* T{ configuration error */ T} -.PP +.P .T& lB2 l2 l1 lX. #define EX__MAX ... /* T{ @@ -82,7 +82,7 @@ T} .TE .SH DESCRIPTION A few programs exit with the following error codes. -.PP +.P The successful exit is always indicated by a status of .BR 0 , or @@ -181,7 +181,7 @@ but rather for higher level permissions. .TP .B EX_CONFIG Something was found in an unconfigured or misconfigured state. -.PP +.P The numerical values corresponding to the symbolical ones are given in parenthesis for easy reference. .SH STANDARDS |