Back to Darwin Xnu

Mach Host Self

osfmk/man/mach_host_self.html

latest567 B
Original Source

mach_host_self


System Trap - Returns the host self port

SYNOPSIS

host_name_port_t mach_host_self( void );

PARAMETERS

None.

DESCRIPTION

The mach_host_self function returns send rights to the task's host self port. By default, this is the name port for the current host but can be a different value if so set.

RETURN VALUES

[host-self send right] Send rights to the host's name port.

Functions: host_info, task_set_special_port.