summaryrefslogtreecommitdiffstats
path: root/mandoc.3
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-24 21:41:11 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-24 21:41:11 +0000
commit4eeac5ce5a0ba2c64595d227f1f69a867863ad33 (patch)
tree91e7a5964173bf43fd5ed461f8424cc78b166b77 /mandoc.3
parent2176678845e3bde85db6f82732ecbedba450f755 (diff)
downloadmandoc-4eeac5ce5a0ba2c64595d227f1f69a867863ad33.tar.gz
Document that spec2cp never returns 0.
Diffstat (limited to 'mandoc.3')
-rw-r--r--mandoc.34
1 files changed, 1 insertions, 3 deletions
diff --git a/mandoc.3 b/mandoc.3
index b2e86d9c..d40b33ed 100644
--- a/mandoc.3
+++ b/mandoc.3
@@ -248,9 +248,7 @@ a Unicode codepoint.
Returns \e0 (the nil character) if the input sequence is malformed.
.It Fn mchars_spec2cp
Convert a special character into a valid Unicode codepoint.
-Returns \-1 on failure and 0 if no code-point exists (if this occurs,
-the caller should fall back to
-.Fn mchars_spec2str ) .
+Returns \-1 on failure or a non-zero Unicode codepoint on success.
.It Fn mchars_spec2str
Convert a special character into an ASCII string.
Returns NULL on failure.