yywrap()

Mark_Andrews at iengines.com Mark_Andrews at iengines.com
Wed Dec 1 04:31:15 UTC 1999


> I'm polishing up my port of BIND8 to OS/2. I've come across a function that
> doesn't appear to have any definition nor documentation. Can someone please
> tell me what yywrap() is supposed to do? It's called by COMMAND.C

	commands.c which is made from commands.l

> (NSLOOKUP).
> 
> Cody Gibson
> Intermec Technologies
> 
> 
	yywrap() is part of lex (flex) and is in libl.a (-ll).

	The default yywrap is:

		int yywrap(void) { return (1); }

	Mark
--
Mark Andrews, Internet Engines Inc. / Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at iengines.com


More information about the bind-workers mailing list