plan 9 kernel history: overview | file list | diff list

1992/0625/boot/aux.c (diff list | history)

1992/0617/sys/src/9/boot/aux.c:148,1541992/0625/sys/src/9/boot/aux.c:148,154 (short | long | prev | next)
1992/0530    
 
1992/0610    
/* 
 *  get second word of the terminal environment variable.   If it 
 *  ends in "boot", get work of that part. 
1992/0625    
 *  ends in "boot", get rid of that part. 
1992/0610    
 */ 
1992/0530    
void 
getconffile(char *conffile, char *terminal) 
1992/0617/sys/src/9/boot/aux.c:169,1751992/0625/sys/src/9/boot/aux.c:169,175
1992/0530    
		*conffile++ = *p++; 
1992/0610    
	*conffile = 0; 
 
	/* dump a trailig boot */ 
1992/0625    
	/* dump a trailing boot */ 
1992/0610    
	n = strlen(s); 
	if(n > 4 && strcmp(s + n - 4, "boot") == 0) 
		*(s+n-4) = 0; 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)