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

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

1992/0318/sys/src/9/boot/aux.c:143,1451992/0530/sys/src/9/boot/aux.c:143,161 (short | long | prev | next)
1992/0317    
	} 
	return n; 
} 
1992/0530    
 
void 
getconffile(char *conffile, char *terminal) 
{ 
	char *p, *q; 
 
	*conffile = 0; 
	p = terminal; 
	if((p = strchr(p, ' ')) == 0 || p[1] == ' ' || p[1] == 0) 
		return; 
	p++; 
	for(q = p; *q && *q != ' '; q++) 
		; 
	while(p < q) 
		*conffile++ = *p++; 
} 


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