#include <mach/vm_map.h>
mach/vm_map.h
Module vm_map
functiontask_wire
extern kern_return_t task_wire(vm_map_t target_task, boolean_t must_wire)
Require that all future virtual memory allocation
allocates wired memory. Setting must_wire to FALSE
disables the wired future feature.