#include <mach/vm_inherit.h> also included by <mach/mach.h>

mach/vm_inherit.h

6 macros · 1 typedef

typedefvm_inherit_t

typedef unsigned int vm_inherit_t
might want to change this
CMU/MIT Mach reference · manual page · © Carnegie Mellon
Defined values:
VM_INHERIT_SHAREAllows child tasks to share the region.
VM_INHERIT_COPYGives child tasks a copy of the region.
VM_INHERIT_NONEProvides no access to the region for child tasks.

macroVM_INHERIT_SHARE

#define VM_INHERIT_SHARE ((vm_inherit_t) 0)
share with child
CMU/MIT Mach reference · manual page · © Carnegie Mellon
Allows child tasks to share the region.
a value of vm_inherit_t

macroVM_INHERIT_COPY

#define VM_INHERIT_COPY ((vm_inherit_t) 1)
copy into child
CMU/MIT Mach reference · manual page · © Carnegie Mellon
Gives child tasks a copy of the region.
a value of vm_inherit_t

macroVM_INHERIT_NONE

#define VM_INHERIT_NONE ((vm_inherit_t) 2)
absent from child
CMU/MIT Mach reference · manual page · © Carnegie Mellon
Provides no access to the region for child tasks.
a value of vm_inherit_t

macroVM_INHERIT_DONATE_COPY

#define VM_INHERIT_DONATE_COPY ((vm_inherit_t) 3)
copy and delete

macroVM_INHERIT_DEFAULT

#define VM_INHERIT_DEFAULT VM_INHERIT_COPY

macroVM_INHERIT_LAST_VALID

#define VM_INHERIT_LAST_VALID VM_INHERIT_NONE