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

1991/0313/port/devlance.c (diff list | history)

1991/0118/sys/src/9/port/devlance.c:826,8361991/0313/sys/src/9/port/devlance.c:826,839 (short | long | prev | next)
1990/0227    
				/* 
				 *  The lock on e makes sure the queue is still there. 
				 */ 
				bp = allocb(len); 
1990/03042    
				memcpy(bp->rptr, (uchar *)p, len); 
1990/0227    
				bp->wptr += len; 
				bp->flags |= S_DELIM; 
				PUTNEXT(e->q, bp); 
1991/0313    
				if(!waserror()){ 
					bp = allocb(len); 
					memcpy(bp->rptr, (uchar *)p, len); 
					bp->wptr += len; 
					bp->flags |= S_DELIM; 
					PUTNEXT(e->q, bp); 
					poperror(); 
				} 
1990/0227    
				qunlock(e); 
			} 
	 


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