Skip to content
BSD syscall#13

svc · unix #13

sys_fchdir

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

Prototype

int sys_fchdir(int fd);

Returns: int

Arguments

NameTypeDirDescription
fdint-

Version history

XNU tagmacOS#
xnu-11215.1.10macOS 15.0 Sequoia13
xnu-11417.101.15macOS 15.4 Sequoia13
xnu-12377.1.9macOS 26.0 Tahoe13
xnu-10063.101.15—13
xnu-10063.121.3—13
xnu-10063.141.1—13
xnu-11215.41.3—13
xnu-11215.61.5—13
xnu-11215.81.4—13
xnu-11417.121.6—13
xnu-11417.140.69—13
xnu-12377.101.15—13
xnu-12377.41.6—13
xnu-12377.61.12—13
xnu-12377.81.4—13

Notes

Just the sys_-prefixed kernel function name; semantics are those of fchdir. See fchdir.

Related APIs

fchdirchdir__pthread_fchdiropenat