Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <mach/mach.h>
- #include <mach/mach_vm.h>
- const char Value[] = "does not work";
- int main(int argc, char *argv[])
- {
- mach_error_t err = task_suspend(mach_task_self());
- if (err != KERN_SUCCESS)
- {
- mach_error("task_suspend", err);
- printf("Task suspension error: %u\n", err);
- return EXIT_FAILURE;
- }
- printf("target: It %s\n", Value);
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement