summaryrefslogtreecommitdiffstats
path: root/man3head
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-10-31 01:28:55 +0100
committerAlejandro Colomar <alx@kernel.org>2023-10-31 01:37:57 +0100
commitc6d039a3a6edcffa325c584d9942fc64560c32e1 (patch)
treefe4ac58f924a952635fa4018af95db9d8f64ec62 /man3head
parent019aad50584289476a9f206adf074326e106713d (diff)
man*/: srcfix (Use .P instead of .PP or .LP)
We're trying to "standardize" on a paragraphing macro from the three equivalent ones (P, PP, LP). We (somewhat arbitrarily) agreed on P. Scripted change: $ find man* -type f | xargs sed -i '/\.PP/s/PP/P/' $ find man* -type f | xargs sed -i '/\.LP/s/LP/P/' Suggested-by: "G. Branden Robinson" <branden@debian.org> Cc: Ingo Schwarze <schwarze@openbsd.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man3head')
-rw-r--r--man3head/printf.h.3head12
-rw-r--r--man3head/sysexits.h.3head10
2 files changed, 11 insertions, 11 deletions
diff --git a/man3head/printf.h.3head b/man3head/printf.h.3head
index 2729a0184..a5c7d1c05 100644
--- a/man3head/printf.h.3head
+++ b/man3head/printf.h.3head
@@ -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,7 +229,7 @@ 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
.BR \%register_printf_function (3).
@@ -238,7 +238,7 @@ 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 4014b8028..01229d601 100644
--- a/man3head/sysexits.h.3head
+++ b/man3head/sysexits.h.3head
@@ -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