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

1991/0727/port/devcons.c (diff list | history)

1991/0723/sys/src/9/port/devcons.c:235,2401991/0727/sys/src/9/port/devcons.c:235,251 (short | long | prev | next)
1990/0227    
} 
 
/* 
1991/0727    
 * turn '\r' into '\n' before putting it into the queue 
 */ 
int 
kbdcr2nl(IOQ *q, int ch) 
{ 
	if(ch == '\r') 
		ch = '\n'; 
	return kbdputc(q, ch); 
} 
 
/* 
1990/0227    
 * Put character into read queue at interrupt time. 
 * Always called splhi from proc 0. 
 */ 


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