source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Document that spec2cp never returns 0.
@ 2011-05-24 21:41 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-05-24 21:41 UTC (permalink / raw)
  To: source

Log Message:
-----------
Document that spec2cp never returns 0.

Modified Files:
--------------
    mdocml:
        mandoc.3

Revision Data
-------------
Index: mandoc.3
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandoc.3,v
retrieving revision 1.9
retrieving revision 1.10
diff -Lmandoc.3 -Lmandoc.3 -u -p -r1.9 -r1.10
--- mandoc.3
+++ 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.
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-24 21:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-24 21:41 mdocml: Document that spec2cp never returns 0 kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).