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

1992/0317/port/devcons.c (diff list | history)

1992/0312/sys/src/9/port/devcons.c:379,3851992/0317/sys/src/9/port/devcons.c:379,385 (short | long | prev | next)
1990/0227    
readnum(ulong off, char *buf, ulong n, ulong val, int size) 
{ 
	char tmp[64]; 
	Op op = (Op){ tmp, tmp+sizeof(tmp), &val, size-1, 0, FUNSIGN|FLONG }; 
1992/0317    
	Op op = { tmp, tmp+sizeof(tmp), &val, size-1, 0, FUNSIGN|FLONG }; 
1990/0227    
 
	numbconv(&op, 10); 
	tmp[size-1] = ' '; 


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