home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / OS2_LEX.ZIP / LEXECH.C < prev    next >
C/C++ Source or Header  |  1980-01-01  |  494b  |  23 lines

  1. /*
  2.  * lexech.c
  3.  *
  4.  * Bob Denny 28-Aug-82    Move stdio dependencies to lexerr(), lexget(),
  5.  *                        lexech() and mapch(). This is one of 4 modules
  6.  *                        in lexlib which depend upon the standard I/O package.
  7.  * Scott Guthery 20-Nov-83  Adapt for IBM PC & DeSmet C
  8.  */
  9.  
  10. #include <stdio.h>
  11. #include <lex.h"
  12.  
  13. extern char *llend, llbuf[];
  14.  
  15. lexecho(fp)
  16. register FILE fp;
  17. {
  18.         register char *lp;
  19.  
  20.         for (lp = llbuf; lp < llend;)
  21.                 putc(*lp++, fp);
  22. }
  23.