Skip to content
BSD syscall#553

svc · unix #553

mkfifoat

Creates a named pipe relative to a directory descriptor.

Prototype

int mkfifoat(int fd, user_addr_t path, int mode);

Returns: int

Arguments

NameTypeDirDescription
fdint-
pathuser_addr_t-
modeint-

Version history

XNU tagmacOS#
xnu-8792.41.9macOS 13.0 Ventura553
xnu-10002.1.13macOS 14.0 Sonoma553
xnu-11215.1.10macOS 15.0 Sequoia553
xnu-11417.101.15macOS 15.4 Sequoia553
xnu-12377.1.9macOS 26.0 Tahoe553
xnu-10002.41.9—553
xnu-10002.61.3—553
xnu-10002.81.5—553
xnu-10063.101.15—553
xnu-10063.121.3—553
xnu-10063.141.1—553
xnu-11215.41.3—553
xnu-11215.61.5—553
xnu-11215.81.4—553
xnu-11417.121.6—553
xnu-11417.140.69—553
xnu-12377.101.15—553
xnu-12377.41.6—553
xnu-12377.61.12—553
xnu-12377.81.4—553
xnu-8792.61.2—553
xnu-8792.81.2—553
xnu-8796.101.5—553
xnu-8796.121.2—553
xnu-8796.141.3—553

Notes

Behaves like mkfifo with the path-resolution rules of openat. The created node inherits the parent's gid when the parent has the setgid bit on APFS.

Detection

ES NOTIFY_CREATE for the new vnode.

Related APIs

mkfifomknodatpipeopenat