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

1992/0529/port/stream.c (diff list | history)

1992/0520/sys/src/9/port/stream.c:604,6101992/0529/sys/src/9/port/stream.c:604,610 (short | long | prev | next)
1990/0907    
	n -= BLEN(bp); 
	while(nbp = bp->next){ 
		i = BLEN(nbp); 
		if(i > n) { 
1992/0529    
		if(i >= n) { 
1991/0318    
			memmove(bp->wptr, nbp->rptr, n); 
1990/0907    
			bp->wptr += n; 
			nbp->rptr += n; 
1992/0520/sys/src/9/port/stream.c:622,6281992/0529/sys/src/9/port/stream.c:622,628
1990/0907    
} 
 
/* 
1991/1107    
 *  expand a block list to be one byte, len bytes long 
1992/0529    
 *  expand a block list to be one block, len bytes long 
1991/1107    
 */ 
Block* 
expandb(Block *bp, int len) 


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