summaryrefslogtreecommitdiffstats
path: root/man/man3/needstack.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/needstack.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/needstack.3')
-rw-r--r--man/man3/needstack.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man3/needstack.3 b/man/man3/needstack.3
index 52fa8785..fbff7b67 100644
--- a/man/man3/needstack.3
+++ b/man/man3/needstack.3
@@ -45,7 +45,7 @@ is a no-op.
.I Needstack
should be thought of as a comment checked at run time,
like
-.MR assert (3) .
+.MR assert 3 .
.SH EXAMPLE
The X Window library implementation of
.I XLookupString
@@ -57,7 +57,7 @@ before making calls to
.IR XLookupString .
If a thread (in this case, the keyboard-reading thread used
inside the
-.MR draw (3)
+.MR draw 3
library)
does not allocate a large enough stack, the problem is diagnosed
immediately rather than left to corrupt memory.
@@ -66,4 +66,4 @@ immediately rather than left to corrupt memory.
.br
.B \*9/src/libthread
.SH SEE ALSO
-.MR thread (3)
+.MR thread 3