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

Diff for /mandoc/Attic/man.3 between version 1.20 and 1.21

version 1.20, 2010/06/27 15:52:41 version 1.21, 2010/06/27 16:18:13
Line 34 
Line 34 
 .Vt extern const char * const * man_macronames;  .Vt extern const char * const * man_macronames;
 .Ft "struct man *"  .Ft "struct man *"
 .Fo man_alloc  .Fo man_alloc
 .Fa "const struct regset *regs"  .Fa "struct regset *regs"
 .Fa "void *data"  .Fa "void *data"
 .Fa "int pflags"  .Fa "int pflags"
 .Fa "mandocmsg msgs"  .Fa "mandocmsg msgs"
Line 291  on the finished parse tree with
Line 291  on the finished parse tree with
 .Fn parsed .  .Fn parsed .
 This example does not error-check nor free memory upon failure.  This example does not error-check nor free memory upon failure.
 .Bd -literal -offset indent  .Bd -literal -offset indent
   struct regset regs;
 struct man *man;  struct man *man;
 struct man_node *node;  struct man_node *node;
 char *buf;  char *buf;
 size_t len;  size_t len;
 int line;  int line;
   
   bzero(&regs, sizeof(struct regset));
 line = 1;  line = 1;
 man = man_alloc(NULL, 0, NULL);  man = man_alloc(&regs, NULL, 0, NULL);
 buf = NULL;  buf = NULL;
 alloc_len = 0;  alloc_len = 0;
   

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

CVSweb