]>
git.saurik.com Git - apple/launchd.git/blob - launchd/testing/vproc_gsk_test.c
13 /* we assign val to p or u due to 64 bit to 32 bit trucation */
15 assert(vproc_swap_integer(NULL
, VPROC_GSK_MGR_PID
, NULL
, &val
) == NULL
);
18 assert(vproc_swap_integer(NULL
, VPROC_GSK_MGR_UID
, NULL
, &val
) == NULL
);
21 assert(vproc_swap_integer(NULL
, VPROC_GSK_IS_NATIVE
, NULL
, &val
) == NULL
);
24 fprintf(stdout
, "UID = %u PID = %u Native = %u\n", u
, p
, is_native
);