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

1992/0711/port/devscc.c (diff list | history)

1992/0711/sys/src/9/port/devscc.c:486,4911992/0722/sys/src/9/port/devscc.c:486,506 (short | long | prev | next)
1991/0727    
	} 
1991/0601    
} 
 
1992/0722    
void 
sccrawput(int port, int c) 
{ 
	SCC *sp = scc[port]; 
 
	if(c == '\n') { 
		sccrawput(port, '\r'); 
		delay(100); 
	} 
 
	while((*sp->ptr&TxReady)==0) 
		; 
	*sp->data = c; 
} 
 
1991/0601    
static void	sccstopen(Queue*, Stream*); 
static void	sccstclose(Queue*); 
static void	sccoput(Queue*, Block*); 


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