diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-24 21:41:11 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-24 21:41:11 +0000 |
commit | 4eeac5ce5a0ba2c64595d227f1f69a867863ad33 (patch) | |
tree | 91e7a5964173bf43fd5ed461f8424cc78b166b77 /mandoc.3 | |
parent | 2176678845e3bde85db6f82732ecbedba450f755 (diff) | |
download | mandoc-4eeac5ce5a0ba2c64595d227f1f69a867863ad33.tar.gz |
Document that spec2cp never returns 0.
Diffstat (limited to 'mandoc.3')
-rw-r--r-- | mandoc.3 | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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. |