diff options
author | Alejandro Colomar <alx@kernel.org> | 2025-06-06 13:27:02 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2025-06-28 16:51:43 +0200 |
commit | 8eea66b827a11bc8983da517499cc236c6cd97ba (patch) | |
tree | aef545da6666369425609c27752453f9f9cf45d8 /man/man3/getrpcent_r.3 | |
parent | 6569dd9b22d256f26928ddcc398db9f123546171 (diff) | |
download | man-pages-master.tar.gz |
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/getrpcent_r.3')
-rw-r--r-- | man/man3/getrpcent_r.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man3/getrpcent_r.3 b/man/man3/getrpcent_r.3 index b993e2b5a4..2678c3907a 100644 --- a/man/man3/getrpcent_r.3 +++ b/man/man3/getrpcent_r.3 @@ -14,14 +14,14 @@ Standard C library .nf .B #include <netdb.h> .P -.BI "int getrpcent_r(size_t " size ; +.BR "int getrpcent_r(" "size_t size;" .BI " struct rpcent *" result_buf ", char " buf [ size ], .BI " size_t " size ", struct rpcent **" result ); -.BI "int getrpcbyname_r(size_t " size ; +.BR "int getrpcbyname_r(" "size_t size;" .BI " const char *" name , .BI " struct rpcent *" result_buf ", char " buf [ size ], .BI " size_t " size ", struct rpcent **" result ); -.BI "int getrpcbynumber_r(size_t " size ; +.BR "int getrpcbynumber_r(" "size_t size;" .BI " int " number , .BI " struct rpcent *" result_buf ", char " buf [ size ], .BI " size_t " size ", struct rpcent **" result ); |