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

1997/0327/port/pgrp.c (diff list | history)

1997/0117/sys/src/9/port/pgrp.c:79,851997/0327/sys/src/9/port/pgrp.c:79,85 (short | long | prev | next)
1991/1011    
		e = &p->mnthash[MNTHASH]; 
		for(h = p->mnthash; h < e; h++) { 
			for(f = *h; f; f = next) { 
				close(f->from); 
1997/0327    
				cclose(f->from); 
1991/1011    
				mountfree(f->mount); 
				next = f->hash; 
1992/0619    
				free(f); 
1997/0117/sys/src/9/port/pgrp.c:190,1961997/0327/sys/src/9/port/pgrp.c:190,196
1992/0824    
	if(decref(f) == 0) { 
		for(i = 0; i <= f->maxfd; i++) 
			if(c = f->fd[i]) 
				close(c); 
1997/0327    
				cclose(c); 
1992/0824    
 
		free(f); 
	} 
1997/0117/sys/src/9/port/pgrp.c:220,2261997/0327/sys/src/9/port/pgrp.c:220,226
1991/1011    
 
1992/0705    
	while(m) { 
		f = m->next; 
		close(m->to); 
1997/0327    
		cclose(m->to); 
1993/0501    
		m->mountid = 0; 
1992/0705    
		free(m); 
		m = f; 


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