Lines Matching refs:arch
249 * arch: target architecture to spawn for
251 int do_spawn_test(int arch, int shouldfail)
257 char * args[] = {"helpers/arch", NULL};
265 /* set spawn to only succeed for arch 'arch' */
266 my_err = posix_spawnattr_setbinpref_np(&attr, 1, &arch, &my_size);
276 printf("posix_spawn should have failed on arch %d\n", arch);
282 * child should exit with return code == arch; note that the
297 if (WEXITSTATUS(my_status) != (arch & 0xff)) {
300 (arch & 0xff));