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

1999/0711/ip/devip.c (diff list | history)

1999/0629/sys/src/9/ip/devip.c:1035,10441999/0711/sys/src/9/ip/devip.c:1035,1046 (short | long | prev | next)
1999/0302    
			qlock(c); 
1997/0327    
			c->p = p; 
			c->x = pp - p->conv; 
			c->ptcl = malloc(p->ptclsize); 
			if(c->ptcl == nil) { 
				free(c); 
				error(Enomem); 
1999/0711    
			if(p->ptclsize != 0){ 
				c->ptcl = malloc(p->ptclsize); 
				if(c->ptcl == nil) { 
					free(c); 
					error(Enomem); 
				} 
1997/0327    
			} 
			*pp = c; 
			p->ac++; 


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