Lines Matching refs:wait4

120  *	Test fork wait4, and exit system calls.
149 my_wait_pid = wait4( my_pid, &my_status, 0, &my_usage );
151 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
155 /* wait4 should return our child's pid when it exits */
157 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
166 printf( "wait4 returned an odd looking rusage structure \n" );
173 printf( "wait4 returned wrong exit status - 0x%02X \n", my_status );
1604 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
1606 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
1610 /* wait4 should return our child's pid when it exits */
1612 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
1617 printf( "wait4 returned wrong exit status - 0x%02X \n", my_status );
1828 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
1830 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
1834 /* wait4 should return our child's pid when it exits */
1836 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
1841 printf( "wait4 returned wrong exit status - 0x%02X \n", my_status );
2712 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
2714 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
2837 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
2839 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
2923 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
2925 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
3232 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
3234 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
3858 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
3860 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
3992 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
3994 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
5118 ret = wait4(my_pid, &my_status, 0, NULL);
5120 printf("data_exec-i386 wait4 failed with errno %d - %s\n", errno, strerror(errno));