summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-07-30 15:02:30 -0500
committerAlejandro Colomar <alx@kernel.org>2023-07-30 22:39:36 +0200
commitba687b00ecb35e159298832020bee589667ba96e (patch)
treeb7214395829ae356a16d8957136d40a9250ecfa4
parentb428dc509a172c56648a5547868fdf4216c342f7 (diff)
man3/: srcfix
Clean up in preparation for "MR sed". Protect (non-cross-referenced) man page names from hyphenation. Use the hyphenation control escape sequence `\%` to do this rather than bracketing a region of the page with `na` and `hy` requests, which enables automatic hyphenation even when it is not desired and uses the wrong hyphenation mode for English to boot. Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/isalpha.326
-rw-r--r--man3/setnetgrent.312
-rw-r--r--man3/unlocked_stdio.346
3 files changed, 39 insertions, 45 deletions
diff --git a/man3/isalpha.3 b/man3/isalpha.3
index 8f9247559..4250fecf4 100644
--- a/man3/isalpha.3
+++ b/man3/isalpha.3
@@ -71,21 +71,19 @@ Feature Test Macro Requirements for glibc (see
.nf
_ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
.fi
-.nh
.PP
-.BR isalnum_l (),
-.BR isalpha_l (),
-.BR isblank_l (),
-.BR iscntrl_l (),
-.BR isdigit_l (),
-.BR isgraph_l (),
-.BR islower_l (),
-.BR isprint_l (),
-.BR ispunct_l (),
-.BR isspace_l (),
-.BR isupper_l (),
-.BR isxdigit_l ():
-.hy
+.BR \%salnum_l (),
+.BR \%salpha_l (),
+.BR \%sblank_l (),
+.BR \%scntrl_l (),
+.BR \%sdigit_l (),
+.BR \%sgraph_l (),
+.BR \%slower_l (),
+.BR \%sprint_l (),
+.BR \%spunct_l (),
+.BR \%sspace_l (),
+.BR \%supper_l (),
+.BR \%sxdigit_l ():
.nf
Since glibc 2.10:
_XOPEN_SOURCE >= 700
diff --git a/man3/setnetgrent.3 b/man3/setnetgrent.3
index 4a7838f09..8a1ab76ec 100644
--- a/man3/setnetgrent.3
+++ b/man3/setnetgrent.3
@@ -36,13 +36,11 @@ Feature Test Macro Requirements for glibc (see
.RE
.ad l
.PP
-.nh
-.BR setnetgrent (),
-.BR endnetgrent (),
-.BR getnetgrent (),
-.BR getnetgrent_r (),
-.BR innetgr ():
-.hy
+.BR \%setnetgrent (),
+.BR \%endnetgrent (),
+.BR \%getnetgrent (),
+.BR \%getnetgrent_r (),
+.BR \%innetgr ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
diff --git a/man3/unlocked_stdio.3 b/man3/unlocked_stdio.3
index 55f641e6e..ba9f3dfa2 100644
--- a/man3/unlocked_stdio.3
+++ b/man3/unlocked_stdio.3
@@ -58,47 +58,45 @@ Standard C library
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
-.nh
.RE
.ad l
.PP
-.BR getc_unlocked (),
-.BR getchar_unlocked (),
-.BR putc_unlocked (),
-.BR putchar_unlocked ():
+.BR \%getc_unlocked (),
+.BR \%getchar_unlocked (),
+.BR \%putc_unlocked (),
+.BR \%putchar_unlocked ():
.nf
/* glibc >= 2.24: */ _POSIX_C_SOURCE >= 199309L
|| /* glibc <= 2.23: */ _POSIX_C_SOURCE
|| /* glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
.fi
.PP
-.BR clearerr_unlocked (),
-.BR feof_unlocked (),
-.BR ferror_unlocked (),
-.BR fileno_unlocked (),
-.BR fflush_unlocked (),
-.BR fgetc_unlocked (),
-.BR fputc_unlocked (),
-.BR fread_unlocked (),
-.BR fwrite_unlocked ():
+.BR \%clearerr_unlocked (),
+.BR \%feof_unlocked (),
+.BR \%ferror_unlocked (),
+.BR \%fileno_unlocked (),
+.BR \%fflush_unlocked (),
+.BR \%fgetc_unlocked (),
+.BR \%fputc_unlocked (),
+.BR \%fread_unlocked (),
+.BR \%fwrite_unlocked ():
.nf
/* glibc >= 2.19: */ _DEFAULT_SOURCE
|| /* glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
.fi
.PP
-.BR fgets_unlocked (),
-.BR fputs_unlocked (),
-.BR getwc_unlocked (),
-.BR getwchar_unlocked (),
-.BR fgetwc_unlocked (),
-.BR fputwc_unlocked (),
-.BR putwchar_unlocked (),
-.BR fgetws_unlocked (),
-.BR fputws_unlocked ():
+.BR \%fgets_unlocked (),
+.BR \%fputs_unlocked (),
+.BR \%getwc_unlocked (),
+.BR \%getwchar_unlocked (),
+.BR \%fgetwc_unlocked (),
+.BR \%fputwc_unlocked (),
+.BR \%putwchar_unlocked (),
+.BR \%fgetws_unlocked (),
+.BR \%fputws_unlocked ():
.nf
_GNU_SOURCE
.fi
-.hy
.ad
.SH DESCRIPTION
Each of these functions has the same behavior as its counterpart