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

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

1992/0625/sys/src/9/boot/aux.c:86,911993/0330/sys/src/9/boot/aux.c:86,104 (short | long | prev | next)
1992/0317    
	return 0; 
} 
 
1993/0330    
int 
writefile(char *name, char *buf, int len) 
{ 
	int f, n; 
 
	f = open(name, OWRITE); 
	if(f < 0) 
		return -1; 
	n = write(f, buf, len); 
	close(f); 
	return (n != len) ? -1 : 0; 
} 
 
1992/0317    
void 
setenv(char *name, char *val) 
{ 


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