#include <mach/mach_types.h>

mach/mach_types.h Kernel.framework

includes: Kernel/stdint.h, sys/cdefs.h, Kernel/mach/host_info.h, Kernel/mach/host_notify.h, Kernel/mach/host_special_ports.h, Kernel/mach/machine.h, Kernel/mach/machine/vm_types.h, mach/memory_object_types.h, mach/message.h, Kernel/mach/exception_types.h, mach/port.h, mach/mach_voucher_types.h, Kernel/mach/processor_info.h, mach/task_info.h, Kernel/mach/task_inspect.h, Kernel/mach/task_policy.h, Kernel/mach/task_special_ports.h, Kernel/mach/thread_info.h, Kernel/mach/thread_policy.h, Kernel/mach/thread_special_ports.h, Kernel/mach/thread_status.h, Kernel/mach/time_value.h, Kernel/mach/clock_types.h, Kernel/mach/vm_attributes.h, Kernel/mach/vm_inherit.h, Kernel/mach/vm_purgable.h, Kernel/mach/vm_behavior.h, Kernel/mach/vm_prot.h, mach/vm_statistics.h, Kernel/mach/vm_sync.h, mach/vm_types.h, Kernel/mach/vm_region.h, Kernel/mach/kmod.h, Kernel/mach/dyld_kernel.h, mach/vm_types_unsafe.h, mach/vm_param.h, Kernel/mach/std_types.h
33 typedefs · 28 macros

typedeftask_t

If we are in the kernel, then pick up the kernel definitions for the basic mach types.
typedef struct task *task_t
GNU Mach reference · 7.2 Task Interface · © FSF, GFDL
task_t
This is a mach_port_t and used to hold the port name of a task port that represents the thread. Manipulations of the task are implemented as remote procedure calls to the task port. A task can get a port to itself with the mach_task_self system call. The task port name is also used to identify the task's IPC space (see Port Manipulation Interface) and the task's virtual memory map (see Virtual Memory Interface).

typedeftask_name_t

typedef struct task *task_t, *task_name_t

typedeftask_inspect_t

typedef struct task *task_t, *task_name_t, *task_inspect_t

typedeftask_read_t

typedef struct task *task_t, *task_name_t, *task_inspect_t, *task_read_t

typedeftask_suspension_token_t

typedef struct task *task_t, *task_name_t, *task_inspect_t, *task_read_t, *task_suspension_token_t

typedeftask_policy_set_t

typedef struct task *task_t, *task_name_t, *task_inspect_t, *task_read_t, *task_suspension_token_t, *task_policy_set_t

typedefthread_t

typedef struct thread *thread_t
GNU Mach reference · 7.1 Thread Interface · © FSF, GFDL
thread_t
This is a mach_port_t and used to hold the port name of a thread port that represents the thread. Manipulations of the thread are implemented as remote procedure calls to the thread port. A thread can get a port to itself with the mach_thread_self system call.

typedefthread_act_t

typedef struct thread *thread_t, *thread_act_t

typedefthread_inspect_t

typedef struct thread *thread_t, *thread_act_t, *thread_inspect_t

typedefthread_read_t

typedef struct thread *thread_t, *thread_act_t, *thread_inspect_t, *thread_read_t

typedefthread_suspension_token_t

typedef struct thread *thread_t, *thread_act_t, *thread_inspect_t, *thread_read_t, *thread_suspension_token_t

typedefipc_space_t

typedef struct ipc_space *ipc_space_t

typedefipc_space_read_t

typedef struct ipc_space *ipc_space_t, *ipc_space_read_t

typedefipc_space_inspect_t

typedef struct ipc_space *ipc_space_t, *ipc_space_read_t, *ipc_space_inspect_t

typedefcoalition_t

typedef struct coalition *coalition_t

typedefhost_t

typedef struct host *host_t

typedefhost_priv_t

typedef struct host *host_priv_t

typedefhost_security_t

typedef struct host *host_security_t

typedefprocessor_t

typedef struct processor *processor_t

typedefprocessor_set_t

typedef struct processor_set *processor_set_t

typedefprocessor_set_control_t

typedef struct processor_set *processor_set_control_t

typedefsemaphore_t

typedef struct semaphore *semaphore_t

typedefledger_t

typedef struct ledger *ledger_t

typedefalarm_t

typedef struct alarm *alarm_t

typedefclock_serv_t

typedef struct clock *clock_serv_t

typedefclock_ctrl_t

typedef struct clock *clock_ctrl_t

typedefarcade_register_t

typedef struct arcade_register *arcade_register_t

typedeftask_id_token_t

typedef struct task_id_token *task_id_token_t

typedefkcdata_object_t

typedef struct kcdata_object *kcdata_object_t

typedeflock_set_t

OBSOLETE: lock_set interfaces are obsolete.
typedef struct lock_set *lock_set_t

macroTASK_NULL

#define TASK_NULL ((task_t) NULL)

macroTASK_NAME_NULL

#define TASK_NAME_NULL ((task_name_t) NULL)

macroTASK_INSPECT_NULL

#define TASK_INSPECT_NULL ((task_inspect_t) NULL)

macroTASK_READ_NULL

#define TASK_READ_NULL ((task_read_t) NULL)

macroTHREAD_NULL

#define THREAD_NULL ((thread_t) NULL)

macroTHREAD_INSPECT_NULL

#define THREAD_INSPECT_NULL ((thread_inspect_t)NULL)

macroTHREAD_READ_NULL

#define THREAD_READ_NULL ((thread_read_t)NULL)

macroTID_NULL

#define TID_NULL ((uint64_t) NULL)

macroTHR_ACT_NULL

#define THR_ACT_NULL ((thread_act_t) NULL)

macroIPC_SPACE_NULL

#define IPC_SPACE_NULL ((ipc_space_t) NULL)

macroIPC_SPACE_READ_NULL

#define IPC_SPACE_READ_NULL ((ipc_space_read_t) NULL)

macroIPC_SPACE_INSPECT_NULL

#define IPC_SPACE_INSPECT_NULL ((ipc_space_inspect_t) NULL)

macroCOALITION_NULL

#define COALITION_NULL ((coalition_t) NULL)

macroHOST_NULL

#define HOST_NULL ((host_t) NULL)

macroHOST_PRIV_NULL

#define HOST_PRIV_NULL ((host_priv_t)NULL)

macroHOST_SECURITY_NULL

#define HOST_SECURITY_NULL ((host_security_t)NULL)

macroPROCESSOR_SET_NULL

#define PROCESSOR_SET_NULL ((processor_set_t) NULL)

macroPROCESSOR_NULL

#define PROCESSOR_NULL ((processor_t) NULL)

macroSEMAPHORE_NULL

#define SEMAPHORE_NULL ((semaphore_t) NULL)

macroLOCK_SET_NULL

#define LOCK_SET_NULL ((lock_set_t) NULL)

macroLEDGER_NULL

#define LEDGER_NULL ((ledger_t) NULL)

macroALARM_NULL

#define ALARM_NULL ((alarm_t) NULL)

macroCLOCK_NULL

#define CLOCK_NULL ((clock_t) NULL)

macroUND_SERVER_NULL

#define UND_SERVER_NULL ((UNDServerRef) NULL)

macroARCADE_REG_NULL

#define ARCADE_REG_NULL ((arcade_register_t) NULL)

macroTASK_ID_TOKEN_NULL

#define TASK_ID_TOKEN_NULL ((task_id_token_t) NULL)

macroKCDATA_OBJECT_NULL

#define KCDATA_OBJECT_NULL ((kcdata_object_t) NULL)