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

1990/0721/power/boot.c (diff list | history)

1990/0721/sys/src/9/power/boot.c:159,1701990/0722/sys/src/9/power/boot.c:159,170 (short | long | prev | next)
1990/0227    
	 */ 
1990/0721    
	fd = open("#nnonet/2/data", 2); 
1990/0427    
	if(fd < 0) { 
1990/0704    
		prerror("opening #n/2/data"); 
1990/0722    
		prerror("opening #nnonet/2/data"); 
1990/0427    
		return; 
	} 
1990/0721    
	cfd = open("#nnonet/2/ctl", 2); 
1990/0427    
	if(cfd < 0){ 
1990/0704    
		prerror("opening #n/2/ctl"); 
1990/0722    
		prerror("opening #nnonet/2/ctl"); 
1990/0427    
		return; 
	} 
	if(write(cfd, scmd, strlen(scmd))<0){ 


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