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

Diff for /mandoc/Attic/mdoc.3 between version 1.47 and 1.49

version 1.47, 2010/07/04 22:04:04 version 1.49, 2010/08/20 01:02:07
Line 30 
Line 30 
 .Nd mdoc macro compiler library  .Nd mdoc macro compiler library
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .In mandoc.h  .In mandoc.h
 .In regs.h  
 .In mdoc.h  .In mdoc.h
 .Vt extern const char * const * mdoc_macronames;  .Vt extern const char * const * mdoc_macronames;
 .Vt extern const char * const * mdoc_argnames;  .Vt extern const char * const * mdoc_argnames;
Line 38 
Line 37 
 .Fo mdoc_alloc  .Fo mdoc_alloc
 .Fa "struct regset *regs"  .Fa "struct regset *regs"
 .Fa "void *data"  .Fa "void *data"
 .Fa "int pflags"  
 .Fa "mandocmsg msgs"  .Fa "mandocmsg msgs"
 .Fc  .Fc
 .Ft int  .Ft int
Line 125  The
Line 123  The
 .Fa data  .Fa data
 pointer is passed to  pointer is passed to
 .Fa msgs .  .Fa msgs .
 The  
 .Fa pflags  
 arguments are defined in  
 .Pa mdoc.h .  
 Returns NULL on failure.  Returns NULL on failure.
 If non-NULL, the pointer must be freed with  If non-NULL, the pointer must be freed with
 .Fn mdoc_free .  .Fn mdoc_free .
Line 339  int line;
Line 333  int line;
   
 bzero(&regs, sizeof(struct regset));  bzero(&regs, sizeof(struct regset));
 line = 1;  line = 1;
 mdoc = mdoc_alloc(&regs, NULL, 0, NULL);  mdoc = mdoc_alloc(&regs, NULL, NULL);
 buf = NULL;  buf = NULL;
 alloc_len = 0;  alloc_len = 0;
   

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.49

CVSweb