summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-07-19 21:04:36 -0500
committerAlejandro Colomar <alx@kernel.org>2023-07-20 15:23:35 +0200
commit18a466700a3e7cd5ac8c3899c476676a0cd616c0 (patch)
tree77427fb34cdea3b212c408790e874e99a8591589
parentc654cde5ec9e9fa975d5d041aa069489ab12a4ce (diff)
man*/: ffix (use `\%`)
Protect instances of some literals from hyphenation. These are only those necessary to improve analyzability of a large-scale (500+ file), sed-driven change to improve adjustment and hyphenation enablement management around tables. * man2/getrlimit.2: Protect some instances of `RLIMIT_MSGQUEUE`, `RLIMIT_SIGPENDING`, `RLIMIT_FSIZE`, and `getrlimit` from hyphenation. * man2/sigaltstack.2: Protect an instance of `setrlimit` from hyphenation. * man3/gethostbyname.3: Protect an instance of `endhostent` from hyphenation. * man3/getmntent.3: Protect an instance of `getmntinfo` from hyphenation. Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man2/getrlimit.210
-rw-r--r--man2/sigaltstack.22
-rw-r--r--man3/gethostbyname.32
-rw-r--r--man3/getmntent.32
4 files changed, 8 insertions, 8 deletions
diff --git a/man2/getrlimit.2 b/man2/getrlimit.2
index 21f919fdc..5d4e428d1 100644
--- a/man2/getrlimit.2
+++ b/man2/getrlimit.2
@@ -577,12 +577,12 @@ they are present on the BSDs and Linux, but on few other implementations.
.B RLIMIT_RSS
derives from BSD and is not specified in POSIX.1;
it is nevertheless present on most implementations.
-.BR RLIMIT_MSGQUEUE ,
+.BR \%RLIMIT_MSGQUEUE ,
.BR RLIMIT_NICE ,
.BR RLIMIT_RTPRIO ,
.BR RLIMIT_RTTIME ,
and
-.B RLIMIT_SIGPENDING
+.B \%RLIMIT_SIGPENDING
are Linux-specific.
.SH HISTORY
.TP
@@ -747,7 +747,7 @@ However, a 32-bit data type is not wide enough.
.\" https://bugzilla.kernel.org/show_bug.cgi?id=5042
.\" https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
The most pertinent limit here is
-.BR RLIMIT_FSIZE ,
+.BR \%RLIMIT_FSIZE ,
which specifies the maximum size to which a file can grow:
to be useful, this limit must be represented using a type
that is as wide as the type used to
@@ -769,13 +769,13 @@ In other words, the requested resource limit setting was silently ignored.
Since glibc 2.13,
.\" https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
glibc works around the limitations of the
-.BR getrlimit ()
+.BR \%getrlimit ()
and
.BR setrlimit ()
system calls by implementing
.BR setrlimit ()
and
-.BR getrlimit ()
+.BR \%getrlimit ()
as wrapper functions that call
.BR prlimit ().
.SH EXAMPLES
diff --git a/man2/sigaltstack.2 b/man2/sigaltstack.2
index 6ae8a612c..b42149541 100644
--- a/man2/sigaltstack.2
+++ b/man2/sigaltstack.2
@@ -230,7 +230,7 @@ Establishing an alternate signal stack is useful if a thread
expects that it may exhaust its standard stack.
This may occur, for example, because the stack grows so large
that it encounters the upwardly growing heap, or it reaches a
-limit established by a call to \fBsetrlimit(RLIMIT_STACK, &rlim)\fP.
+limit established by a call to \fB\%setrlimit(RLIMIT_STACK, &rlim)\fP.
If the standard stack is exhausted, the kernel sends
the thread a \fBSIGSEGV\fP signal.
In these circumstances the only way to catch this signal is
diff --git a/man3/gethostbyname.3 b/man3/gethostbyname.3
index 492e22d69..b467e92d9 100644
--- a/man3/gethostbyname.3
+++ b/man3/gethostbyname.3
@@ -377,7 +377,7 @@ signifies that if any of the functions
.BR gethostent (),
.BR gethostent_r (),
or
-.BR endhostent ()
+.BR \%endhostent ()
are used in parallel in different threads of a program,
then data races could occur.
.SH STANDARDS
diff --git a/man3/getmntent.3 b/man3/getmntent.3
index 5c0cfde0a..37e7225bd 100644
--- a/man3/getmntent.3
+++ b/man3/getmntent.3
@@ -249,7 +249,7 @@ Under System V
.I /etc/mnttab
is used.
4.4BSD and Digital UNIX have a routine
-.BR getmntinfo (),
+.BR \%getmntinfo (),
a wrapper around the system call
.BR getfsstat ().
.SH SEE ALSO