aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2020-12-19 10:20:22 +0000
committerGordon Bergling <gbe@FreeBSD.org>2020-12-27 12:42:17 +0000
commit95c326ca08b6a985bffd46ea709a9cbfed62ca9b (patch)
treeba065c414b9b5b46c35354b11891e7403aabe623
parentda189e3dd3565c26c15439474fa63a7dcdba9e00 (diff)
downloadsrc-95c326ca08b6a985bffd46ea709a9cbfed62ca9b.tar.gz
src-95c326ca08b6a985bffd46ea709a9cbfed62ca9b.zip
MFC r368795: fail(9): Fix a few mandoc related issues
- function name without markup: return() - function name without markup: print() (cherry picked from commit 501de9c0c1a4f78cd4f5986eea809554f8490d66)
-rw-r--r--share/man/man9/fail.912
1 files changed, 9 insertions, 3 deletions
diff --git a/share/man/man9/fail.9 b/share/man/man9/fail.9
index cf623650e0c5..06405cc6d63e 100644
--- a/share/man/man9/fail.9
+++ b/share/man/man9/fail.9
@@ -196,9 +196,15 @@ The operator -> can be used to express cascading terms.
If you specify <term1>-><term2>, it means that if <term1> does not
.Ql execute ,
<term2> is evaluated.
-For the purpose of this operator, the return() and print() operators
-are the only types that cascade.
-A return() term only cascades if the code executes, and a print()
+For the purpose of this operator, the
+.Fn return
+and
+.Fn print
+operators are the only types that cascade.
+A
+.Fn return
+term only cascades if the code executes, and a
+.Fn print
term only cascades when passed a non-zero argument.
A pid can optionally be specified.
The fail point term is only executed when invoked by a process with a