Static Propertynmggithub.kass 3.2.4MachCore
name
The task’s name port.
static let name: Mach.TaskSpecialPort
The task’s name port.
static let name: Mach.TaskSpecialPort
import MachCore
The core module for interacting with the Mach kernel.
struct TaskSpecialPort
A special port for a task.
struct Mach
The Mach kernel.
init(rawValue: Int32)
static let access: Mach.TaskSpecialPort
A port for determining access to the different flavored task ports for the task.
static let bootstrap: Mach.TaskSpecialPort
The bootstrap port, used to get ports for Mach services.
static let control: Mach.TaskSpecialPort
The task’s control port.
static let debug: Mach.TaskSpecialPort
The task’s debug port.
static let host: Mach.TaskSpecialPort
The host port for the host that the task is in.
static let inspect: Mach.TaskSpecialPort
The task’s inspect port.
static let read: Mach.TaskSpecialPort
The task’s read port.
static let seatbelt: Mach.TaskSpecialPort
The task’s seatbelt port.
let rawValue: Int32
func get<PortType>(for task: Mach.Task = .current, as type: PortType.Type = PortType.self) throws -> PortType where PortType : Mach.Port
Gets the special port for a task.
func set(for task: Mach.Task = .current, to port: Mach.Port) throws
Sets the special port for a task.