fatbase

portable OpenBSD tools
git clone git://git.2f30.org/fatbase
Log | Files | Refs

libmain.c (350B)


      1 /*	$OpenBSD: libmain.c,v 1.7 2012/12/05 23:20:25 deraadt Exp $	*/
      2 
      3 /* libmain - flex run-time support library "main" function */
      4 
      5 /* $Header: /cvs/src/usr.bin/lex/libmain.c,v 1.7 2012/12/05 23:20:25 deraadt Exp $ */
      6 
      7 
      8 int yylex(void);
      9 int main(int, char **);
     10 
     11 /* ARGSUSED */
     12 int
     13 main(int argc, char *argv[])
     14 {
     15 	while (yylex() != 0)
     16 		;
     17 
     18 	return 0;
     19 }