Searched refs:wait4 (Results 1 - 9 of 9) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dwait.h71 * This file holds definitions relevent to the wait4 system call
120 * Option bits for the third argument of wait4. WNOHANG causes the
173 /* WNOHANG already defined for wait4() */
174 /* WUNTRACED defined for wait4() but not for waitid() */
188 * Tokens for special values of the "pid" parameter to wait4.
197 * Structure of the information in the status word returned by wait4.
263 pid_t wait4(pid_t, int *, int, struct rusage *);
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dmisc.c215 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
217 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
221 /* wait4 should return our child's pid when it exits */
223 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
233 printf( "wait4 returned wrong signal status - 0x%02X \n", my_status );
290 my_err = wait4(my_pid, &my_status, 0, NULL);
292 printf("wait4 failed with errno %d - %s\n", errno, strerror(errno));
H A Dsocket_tests.c373 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
375 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
577 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
579 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
583 /* wait4 should return our child's pid when it exits */
585 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
590 printf( "wait4 returned wrong exit status - 0x%02X \n", my_status );
H A Dmemory_tests.c381 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
383 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
387 /* wait4 should return our child's pid when it exits */
389 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
396 printf( "wait4 returned child died of status - 0x%02X \n", my_status );
H A Dtests.c120 * 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 shoul
[all...]
H A Dkqueue_tests.c367 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
369 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
373 /* wait4 should return our child's pid when it exits */
375 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
380 printf( "wait4 returned wrong exit status - 0x%02X \n", my_status );
/darwin-on-arm/xnu/bsd/man/man2/
H A DMakefile214 wait4.2 \
/darwin-on-arm/xnu/libsyscall/xcodescripts/
H A Dcreate-syscalls.pl145 wait4 waitid write writev
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_exit.c1120 return(wait4(p, (struct wait4_args *)vt, retval));
1124 wait4(proc_t q, struct wait4_args *uap, int32_t *retval) function

Completed in 36 milliseconds