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

2002/1002/boot/settime.c (diff list | history)

2002/0115/sys/src/9/boot/settime.c:9,152002/1002/sys/src/9/boot/settime.c:9,15 (short | long | prev)
1992/0909    
char *timeserver = "#s/boot"; 
 
1992/0318    
void 
2001/0819    
settime(int islocal, int afd) 
2002/1002    
settime(int islocal, int afd, char *rp) 
1992/0318    
{ 
	int n, f; 
	int timeset; 
2002/0115/sys/src/9/boot/settime.c:41,472002/1002/sys/src/9/boot/settime.c:41,47
1992/0909    
		f = open(timeserver, ORDWR); 
1992/0318    
		if(f < 0) 
			return; 
2001/0819    
		if(mount(f, afd, "/tmp", MREPL, "") < 0){ 
2002/1002    
		if(mount(f, afd, "/tmp", MREPL, rp) < 0){ 
1993/0501    
			warning("settime mount"); 
1993/0330    
			close(f); 
			return; 


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