Skip to content
BSD syscall#431

svc · unix #431

sys_fileport_makefd

Internal XNU symbol name for the fileport_makefd(2) syscall; the public wrapper is fileport_makefd(2).

Prototype

int sys_fileport_makefd(mach_port_name_t port);

Returns: int

Arguments

NameTypeDirDescription
portmach_port_name_t-

Version history

XNU tagmacOS#
xnu-7195.50.7.100.1macOS 11.0 Big Sur431
xnu-8019.41.5macOS 12.0 Monterey431
xnu-8792.41.9macOS 13.0 Ventura431
xnu-10002.1.13macOS 14.0 Sonoma431
xnu-11215.1.10macOS 15.0 Sequoia431
xnu-11417.101.15macOS 15.4 Sequoia431
xnu-12377.1.9macOS 26.0 Tahoe431
xnu-10002.41.9—431
xnu-10002.61.3—431
xnu-10002.81.5—431
xnu-10063.101.15—431
xnu-10063.121.3—431
xnu-10063.141.1—431
xnu-11215.41.3—431
xnu-11215.61.5—431
xnu-11215.81.4—431
xnu-11417.121.6—431
xnu-11417.140.69—431
xnu-12377.101.15—431
xnu-12377.41.6—431
xnu-12377.61.12—431
xnu-12377.81.4—431
xnu-7195.101.1—431
xnu-7195.121.3—431
xnu-7195.141.2—431
xnu-7195.60.75—431
xnu-7195.81.3—431
xnu-8019.61.5—431
xnu-8019.80.24—431
xnu-8020.101.4—431
xnu-8020.121.3—431
xnu-8020.140.41—431
xnu-8792.61.2—431
xnu-8792.81.2—431
xnu-8796.101.5—431
xnu-8796.121.2—431
xnu-8796.141.3—431

Notes

Materialises a file descriptor from a Mach fileport right that another process previously sent via IPC. See fileport_makefd.

Related APIs

fileport_makefdfileport_makeportmach_msgsendmsg