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

Diff for /mandoc/Attic/mdoc.3 between version 1.34 and 1.36

version 1.34, 2009/09/16 09:41:24 version 1.36, 2010/01/07 19:10:09
Line 29 
Line 29 
 .Nd mdoc macro compiler library  .Nd mdoc macro compiler library
 .\" SECTION  .\" SECTION
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Fd #include "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;
 .Ft "struct mdoc *"  .Ft "struct mdoc *"
Line 274  line = 1;
Line 274  line = 1;
 mdoc = mdoc_alloc(NULL, 0, NULL);  mdoc = mdoc_alloc(NULL, 0, NULL);
   
 while ((buf = fgetln(fp, &len))) {  while ((buf = fgetln(fp, &len))) {
         buf[len - 1] = '\\0';          buf[len - 1] = '\e0';
         if ( ! mdoc_parseln(mdoc, line, buf))          if ( ! mdoc_parseln(mdoc, line, buf))
                 errx(1, "mdoc_parseln");                  errx(1, "mdoc_parseln");
         line++;          line++;

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.36

CVSweb