summaryrefslogtreecommitdiffstats
path: root/man/man3/rand.3
diff options
context:
space:
mode:
authorDmitri Vereshchagin <dmitri.vereshchagin@gmail.com>2024-01-31 20:47:13 +0300
committerDan Cross <crossd@gmail.com>2025-07-27 09:58:50 -0400
commit10564b11755ff2d48d0f5073c46571e806fa6fb4 (patch)
tree229252742051d83558fff2352642d0f57ba66615 /man/man3/rand.3
parent00446db7d8fdb3ea56fa104643b34823960f7be2 (diff)
downloadplan9port-10564b11755ff2d48d0f5073c46571e806fa6fb4.tar.gz
plan9port-10564b11755ff2d48d0f5073c46571e806fa6fb4.zip
tmac/tmac.an: define .MR in a groff compatible way
groff 1.23.0 added .MR to its -man macro package. The NEWS file states that the inclusion of the macro "was prompted by its introduction to Plan 9 from User Space's troff in August 2020." From d32deab it seems that the name for Plan 9 from User Space's implementation was suggested by groff maintainer G. Brandon Robinson. Not sure if the intention was to make these definitions compatible, but it would be nice if they were. Currently, Plan 9 from User Space's .MR expects its second argument to be parenthesized. groff's .MR does not. This results in extra parentheses appearing in manual references when viewing Plan 9 from User Space's manual pages on a system using groff.
Diffstat (limited to 'man/man3/rand.3')
-rw-r--r--man/man3/rand.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man3/rand.3 b/man/man3/rand.3
index ba7ef97f..b115f2f9 100644
--- a/man/man3/rand.3
+++ b/man/man3/rand.3
@@ -125,7 +125,7 @@ truly random bytes read from
.PP
.I Prng
uses the native
-.MR rand (3)
+.MR rand 3
pseudo-random number generator to fill the buffer. Used with
.IR srand ,
this function can produce a reproducible stream of pseudo random
@@ -138,7 +138,7 @@ and
may be passed to
.I mprand
(see
-.MR mp (3) ).
+.MR mp 3 ).
.PP
.I Fastrand
uses
@@ -161,7 +161,7 @@ to return a uniform
.B \*9/src/libsec/port
.SH "SEE ALSO
.\" .IR cons (3),
-.MR mp (3)
+.MR mp 3
.SH BUGS
.I Truerand
and
@@ -181,7 +181,7 @@ are preprocessor macros defined as
.IR p9lrand ,
and so on;
see
-.MR intro (3) .
+.MR intro 3 .
.ie \n(HT .ds HT "
.el .ds HT " (see HTML-formatted man page for link)
.PP