V6/usr/source/iolib/cexit.c

Find at most related files.
including files from this version of Unix.

cexit (rcode)
{
/* closes all files and exits */
int i;
for (i = 0; i < 10; i++)
	cclose(i);
exit(rcode);	/* rcode courtesy of sny */
}