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

1993/0501/boot/settime.c (diff list | history)

1993/0330/sys/src/9/boot/settime.c:42,481993/0501/sys/src/9/boot/settime.c:42,48 (short | long | prev | next)
1992/0318    
		if(f < 0) 
			return; 
1993/0330    
		if(mount(f, "/n/boot", MREPL, "") < 0){ 
warning("settime mount"); 
1993/0501    
			warning("settime mount"); 
1993/0330    
			close(f); 
			return; 
		} 
1993/0330/sys/src/9/boot/settime.c:66,711993/0501/sys/src/9/boot/settime.c:66,72
1992/0611    
	if(write(f, dirbuf, strlen(dirbuf)) < 0) 
		warning("can't set #c/time"); 
1992/0318    
	close(f); 
1993/0501    
	print("\n"); 
1992/0611    
} 
 
#define SEC2MIN 60L 


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