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

1991/1112/port/pgrp.c (diff list | history)

1991/1110/sys/src/9/port/pgrp.c:87,941991/1112/sys/src/9/port/pgrp.c:87,94 (short | long | prev | next)
1991/0318    
	memmove(buf, a, n); 
1990/1110    
	buf[n] = 0; 
	p = proctab(0); 
	for(i=0; i<conf.nproc; i++, p++){ 
		if(p->pgrp == pg){ 
1991/1112    
	for(i=0; i<conf.nproc; i++, p++) { 
		if(p->pgrp == pg && p->kp == 0) { 
1990/1110    
			lock(&p->debug); 
			if(p->pid==0 || p->pgrp!=pg){ 
				unlock(&p->debug); 


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