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

1991/1106/port/devproc.c (diff list | history)

1991/1105/sys/src/9/port/devproc.c:111,1181991/1106/sys/src/9/port/devproc.c:111,117 (short | long | prev | next)
1990/0227    
int 
procwalk(Chan *c, char *name) 
{ 
1991/1011    
	if(name[0] == '.' && name[1] == '.' && 
	   name[2] == '\0') { 
1991/1106    
	if(strcmp(name, "..") == 0) { 
1991/1011    
		c->qid.path = Qdir|CHDIR; 
		return 1; 
	} 


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