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

1990/11211/port/pgrp.c (diff list | history)

1990/1110/sys/src/9/port/pgrp.c:59,671990/11211/sys/src/9/port/pgrp.c:59,67 (short | long | prev | next)
1990/1110    
	char buf[ERRLEN]; 
 
	if(n >= ERRLEN-1) 
		error(0, Etoobig); 
1990/11211    
		error(Etoobig); 
1990/1110    
	if(n>=4 && strncmp(a, "sys:", 4)==0) 
		error(0, Ebadarg); 
1990/11211    
		error(Ebadarg); 
1990/1110    
	memcpy(buf, a, n); 
	buf[n] = 0; 
	p = proctab(0); 


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