aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/wprintf.3
diff options
authorAlejandro Colomar <alx@kernel.org>2025-06-06 13:27:02 +0200
committerAlejandro Colomar <alx@kernel.org>2025-06-28 16:51:43 +0200
commit8eea66b827a11bc8983da517499cc236c6cd97ba (patch)
treeaef545da6666369425609c27752453f9f9cf45d8 /man/man3/wprintf.3
parent6569dd9b22d256f26928ddcc398db9f123546171 (diff)
downloadman-pages-master.tar.gz
man/: SYNOPSIS: Don't highlight forward declarations of function parametersHEADmaster
Previously, many people confused these for actual parameters, since it's hard to distinguish a ',' from ';'. By removing bold/italics from these, it will be easier to distinguish them. The cases have been found with a script: $ find -type f \ | xargs grep -l '^\.TH ' \ | sort \ | xargs mansect SYNOPSIS \ | man /dev/stdin \ | grep -e '^[^ ]' -e '[^ ]( [^ )].*[^)];' \ | less; Reported-by: Mark Naughton <mnaughto@redhat.com> Suggested-by: Mark Harris <mark.hsj@gmail.com> Acked-by: Mark Naughton <mnaughto@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/wprintf.3')
-rw-r--r--man/man3/wprintf.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man/man3/wprintf.3 b/man/man3/wprintf.3
index a7324426b9..bdc74d5dae 100644
--- a/man/man3/wprintf.3
+++ b/man/man3/wprintf.3
@@ -18,14 +18,14 @@ Standard C library
.BI "int wprintf(const wchar_t *restrict " format ", ...);"
.BI "int fwprintf(FILE *restrict " stream ,
.BI " const wchar_t *restrict " format ", ...);"
-.BI "int swprintf(size_t " n ;
+.BR "int swprintf(" "size_t n;"
.BI " wchar_t " wcs "[restrict " n "], size_t " n ,
.BI " const wchar_t *restrict " format ", ...);"
.P
.BI "int vwprintf(const wchar_t *restrict " format ", va_list " args );
.BI "int vfwprintf(FILE *restrict " stream ,
.BI " const wchar_t *restrict " format ", va_list " args );
-.BI "int vswprintf(size_t " n ;
+.BR "int vswprintf(" "size_t n;"
.BI " wchar_t " wcs "[restrict " n "], size_t " n ,
.BI " const wchar_t *restrict " format ", va_list " args );
.fi