FreeBSD/usr.bin/xlint/lint2/emit2.c
/*
 * Write a new lint library.
 */
Write a new lint library.
Write a new lint library .
void
outlib(const char *name)
{
	outopen(name);
	outsrc(name);
	outclr();
	outint(0);
	outchar('s');
	outstrg(name);
	outfiles();
	forall(dumpname);
	outclose();
}
void outlib ( const char * name ) { outopen ( name ) ; outsrc ( name ) ; outclr ( ) ; outint ( 0 ) ; outchar ( ' ' ) ; outstrg ( name ) ; outfiles ( ) ; forall ( dumpname ) ; outclose ( ) ; }
Write a new lint library.
Write a new lint library .
/* Open of output file and initialisation of the output buffer */ /* write name of lint library */ /* name of lint lib has index 0 */ /*
	 * print the names of all files references by unnamed
	 * struct/union/enum declarations.
	 */ /* write all definitions with external linkage */ /* close the output */