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

1992/1217/port/chan.c (diff list | history)

1992/0919/sys/src/9/port/chan.c:42,481992/1217/sys/src/9/port/chan.c:42,48 (short | long | prev | next)
1990/0227    
{ 
	int i; 
 
	for(i=0; i<strlen(devchar); i++) 
1992/1217    
	for(i=0; i<devchar[i]; i++) 
1990/0227    
		(*devtab[i].reset)(); 
} 
 
1992/0919/sys/src/9/port/chan.c:51,571992/1217/sys/src/9/port/chan.c:51,57
1990/0227    
{ 
	int i; 
 
	for(i=0; i<strlen(devchar); i++) 
1992/1217    
	for(i=0; i<devchar[i]; i++) 
1990/0227    
		(*devtab[i].init)(); 
} 
 
1992/0919/sys/src/9/port/chan.c:429,4341992/1217/sys/src/9/port/chan.c:429,435
1990/0227    
{ 
1991/0427    
	Chan *c, *nc, *cc; 
1990/0227    
	int t; 
1992/1217    
	Rune r; 
1990/0820    
	int mntok, isdot; 
1990/0821    
	char *p; 
1992/0711    
	char *elem; 
1992/0919/sys/src/9/port/chan.c:463,4741992/1217/sys/src/9/port/chan.c:464,476
1992/0825    
	else 
	if(name[0] == '#') { 
1990/0227    
		mntok = 0; 
1990/1009    
		if(name[1]=='M') 
1992/1217    
		name++; 
		name += chartorune(&r, name); 
		if(r == 'M') 
1990/11211    
			error(Enonexist); 
1990/0227    
		t = devno(name[1], 1); 
1992/1217    
		t = devno(r, 1); 
1990/0227    
		if(t == -1) 
1990/11211    
			error(Ebadsharp); 
1990/0227    
		name += 2; 
		if(*name == '/'){ 
			name = skipslash(name); 
			elem[0]=0; 


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