[BACK]Return to mandoc.3 CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mandoc.3 between version 1.7 and 1.10

version 1.7, 2011/05/17 11:50:20 version 1.10, 2011/05/24 21:41:11
Line 27 
Line 27 
 .Nm mchars_free ,  .Nm mchars_free ,
 .Nm mchars_num2char ,  .Nm mchars_num2char ,
 .Nm mchars_num2uc ,  .Nm mchars_num2uc ,
 .Nm mchars_res2cp ,  
 .Nm mchars_res2str ,  
 .Nm mchars_spec2cp ,  .Nm mchars_spec2cp ,
 .Nm mchars_spec2str ,  .Nm mchars_spec2str ,
 .Nm mdoc_meta ,  .Nm mdoc_meta ,
Line 41 
Line 39 
 .Nm mparse_strerror ,  .Nm mparse_strerror ,
 .Nm mparse_strlevel  .Nm mparse_strlevel
 .Nd mandoc macro compiler library  .Nd mandoc macro compiler library
   .Sh LIBRARY
   .Lb mandoc
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .In man.h  .In man.h
 .In mdoc.h  .In mdoc.h
Line 68 
Line 68 
 .Ft int  .Ft int
 .Fn mchars_num2uc "const char *cp" "size_t sz"  .Fn mchars_num2uc "const char *cp" "size_t sz"
 .Ft "const char *"  .Ft "const char *"
 .Fo mchars_res2str  
 .Fa "struct mchars *p"  
 .Fa "const char *cp"  
 .Fa "size_t sz"  
 .Fa "size_t *rsz"  
 .Fc  
 .Ft int  
 .Fo mchars_res2cp  
 .Fa "struct mchars *p"  
 .Fa "const char *cp"  
 .Fa "size_t sz"  
 .Ft "const char *"  
 .Fc  
 .Ft "const char *"  
 .Fo mchars_spec2str  .Fo mchars_spec2str
 .Fa "struct mchars *p"  .Fa "struct mchars *p"
 .Fa "const char *cp"  .Fa "const char *cp"
Line 260  Returns \e0 (the nil character) if the input sequence 
Line 246  Returns \e0 (the nil character) if the input sequence 
 Convert a hexadecimal character index (e.g., the \e[uNNNN] escape) into  Convert a hexadecimal character index (e.g., the \e[uNNNN] escape) into
 a Unicode codepoint.  a Unicode codepoint.
 Returns \e0 (the nil character) if the input sequence is malformed.  Returns \e0 (the nil character) if the input sequence is malformed.
 .It Fn mchars_res2cp  
 Convert a predefined 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_res2str ) .  
 .It Fn mchars_res2str  
 Convert a predefined character into an ASCII string.  
 Returns NULL on failure.  
 .It Fn mchars_spec2cp  .It Fn mchars_spec2cp
 Convert a special character into a valid Unicode codepoint.  Convert a special character into a valid Unicode codepoint.
 Returns \-1 on failure and 0 if no code-point exists (if this occurs,  Returns \-1 on failure or a non-zero Unicode codepoint on success.
 the caller should fall back to  
 .Fn mchars_spec2str ) .  
 .It Fn mchars_spec2str  .It Fn mchars_spec2str
 Convert a special character into an ASCII string.  Convert a special character into an ASCII string.
 Returns NULL on failure.  Returns NULL on failure.

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.10

CVSweb