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

1997/0327/ip/kio.c (diff list | history)

1997/0327/sys/src/9/ip/kio.c:71,771997/0408/sys/src/9/ip/kio.c:71,77 (short | long | prev | next)
1997/0327    
 
	if(dir && c->mnt) 
		n = unionread(c, va, n); 
	else if(devchar[c->type] != L'M') 
1997/0408    
	else if(devtab[c->type]->dc != L'M') 
1997/0327    
		n = devtab[c->type]->read(c, va, n, c->offset); 
	else 
		n = mntread9p(c, va, n, c->offset); 
1997/0327/sys/src/9/ip/kio.c:106,1121997/0408/sys/src/9/ip/kio.c:106,112
1997/0327    
	if(c->qid.path & CHDIR) 
		error(Eisdir); 
 
	if(devchar[c->type] == '|') 
1997/0408    
	if(devtab[c->type]->dc == '|') 
1997/0327    
		error(Eisstream); 
 
	off = 0; 


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