From 604f1c416c128565923d63ab4cd98d1a7ced0cf4 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Tue, 17 Apr 2018 09:05:46 +0000 Subject: Don't put multiple names on a single .Nm line. This fixes apropos(1) output, from this: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit strnlen, strlen, strlen,(3) - find length of string │······· ... to this: strlen, strnlen(3) - find length of string PR: 223525 MFC after: 2 weeks --- lib/libc/locale/isdigit.3 | 3 ++- lib/libc/locale/isxdigit.3 | 3 ++- lib/libc/stdio/printf.3 | 14 ++++++++++++-- lib/libc/stdlib/qsort.3 | 8 +++++++- lib/libc/string/strcpy.3 | 5 ++++- lib/libc/string/strlen.3 | 3 ++- lib/libc/sys/fsync.2 | 3 ++- 7 files changed, 31 insertions(+), 8 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/locale/isdigit.3 b/lib/libc/locale/isdigit.3 index 2e425d679bdba..d1a75465e277b 100644 --- a/lib/libc/locale/isdigit.3 +++ b/lib/libc/locale/isdigit.3 @@ -36,7 +36,8 @@ .Dt ISDIGIT 3 .Os .Sh NAME -.Nm isdigit, isnumber +.Nm isdigit , +.Nm isnumber .Nd decimal-digit character test .Sh LIBRARY .Lb libc diff --git a/lib/libc/locale/isxdigit.3 b/lib/libc/locale/isxdigit.3 index 7e22f35f57e6c..7e065a4e255a5 100644 --- a/lib/libc/locale/isxdigit.3 +++ b/lib/libc/locale/isxdigit.3 @@ -36,7 +36,8 @@ .Dt ISXDIGIT 3 .Os .Sh NAME -.Nm isxdigit, ishexnumber +.Nm isxdigit , +.Nm ishexnumber .Nd hexadecimal-digit character test .Sh LIBRARY .Lb libc diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 3a89b91ac84aa..2aec6de3cf2c4 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -36,8 +36,18 @@ .Dt PRINTF 3 .Os .Sh NAME -.Nm printf , fprintf , sprintf , snprintf , asprintf , dprintf , -.Nm vprintf , vfprintf, vsprintf , vsnprintf , vasprintf, vdprintf +.Nm printf , +.Nm fprintf , +.Nm sprintf , +.Nm snprintf , +.Nm asprintf , +.Nm dprintf , +.Nm vprintf , +.Nm vfprintf , +.Nm vsprintf , +.Nm vsnprintf , +.Nm vasprintf , +.Nm vdprintf .Nd formatted output conversion .Sh LIBRARY .Lb libc diff --git a/lib/libc/stdlib/qsort.3 b/lib/libc/stdlib/qsort.3 index af885ee5f7624..94a54ed0de1f9 100644 --- a/lib/libc/stdlib/qsort.3 +++ b/lib/libc/stdlib/qsort.3 @@ -36,7 +36,13 @@ .Dt QSORT 3 .Os .Sh NAME -.Nm qsort , qsort_b , qsort_r , heapsort , heapsort_b , mergesort, mergesort_b +.Nm qsort , +.Nm qsort_b , +.Nm qsort_r , +.Nm heapsort , +.Nm heapsort_b , +.Nm mergesort , +.Nm mergesort_b .Nd sort functions .Sh LIBRARY .Lb libc diff --git a/lib/libc/string/strcpy.3 b/lib/libc/string/strcpy.3 index bc555411dde1a..36ad1d33cd4c2 100644 --- a/lib/libc/string/strcpy.3 +++ b/lib/libc/string/strcpy.3 @@ -36,7 +36,10 @@ .Dt STRCPY 3 .Os .Sh NAME -.Nm stpcpy, stpncpy, strcpy , strncpy +.Nm stpcpy , +.Nm stpncpy , +.Nm strcpy , +.Nm strncpy .Nd copy strings .Sh LIBRARY .Lb libc diff --git a/lib/libc/string/strlen.3 b/lib/libc/string/strlen.3 index fb2fa3cd2acb3..bc9b0f3fc0e49 100644 --- a/lib/libc/string/strlen.3 +++ b/lib/libc/string/strlen.3 @@ -36,7 +36,8 @@ .Dt STRLEN 3 .Os .Sh NAME -.Nm strlen, strnlen +.Nm strlen , +.Nm strnlen .Nd find length of string .Sh LIBRARY .Lb libc diff --git a/lib/libc/sys/fsync.2 b/lib/libc/sys/fsync.2 index 6564737b80891..e066173650607 100644 --- a/lib/libc/sys/fsync.2 +++ b/lib/libc/sys/fsync.2 @@ -38,7 +38,8 @@ .Dt FSYNC 2 .Os .Sh NAME -.Nm fdatasync, fsync +.Nm fdatasync , +.Nm fsync .Nd "synchronise changes to a file" .Sh LIBRARY .Lb libc -- cgit v1.3