Lines Matching refs:my_process_group
3267 pid_t my_session_id, my_pid, my_process_group;
3278 my_process_group = getpgrp( );
3281 if ( my_process_group != getpgid( 0 ) ) {
3283 printf( "getpgid: %d, my_process_group: %d\n", getpgid( 0 ), my_process_group );
3287 if ( my_pid == my_process_group ) {
3303 if ( my_process_group == getpgid( 0 ) ) {
3311 my_process_group = getpgid( i );
3312 if ( my_process_group == -1 ) {
3318 my_err = setpgid( 0, my_process_group );