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

1990/03292/gnot/stream.c (diff list | history)

1990/0322/sys/src/9/gnot/stream.c:627,6331990/03292/sys/src/9/gnot/stream.c:627,632 (short | long | prev | next)
1990/03091    
	if(qi->open) 
		(*qi->open)(RD(s->devq), s); 
 
	c->flag |= COPEN; 
	unlock(s); 
	poperror(); 
	return s; 
1990/0322/sys/src/9/gnot/stream.c:681,6871990/03292/sys/src/9/gnot/stream.c:680,686
1990/03091    
	/* 
	 *  if not open, ignore it 
	 */ 
	if(!(c->flag & COPEN)) 
1990/03292    
	if(!c->stream) 
1990/03091    
		return; 
 
	/* 


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