Skip to content
BSD syscall#92

svc · unix #92

fcntl

Manipulates per-descriptor flags and locks (F_GETFD, F_SETFL, F_SETLK, …).

Prototype

int fcntl(int fd, int cmd, long arg);

Returns: int

Arguments

NameTypeDirDescription
fdint-
cmdint-
arglong-

Version history

XNU tagmacOS#
xnu-1456.1.26macOS 10.6 Snow Leopard92
xnu-1486.2.1192
xnu-1504.15.392
xnu-1504.3.1292
xnu-1504.7.492
xnu-1504.9.1792
xnu-1504.9.2692
xnu-1504.9.3792

Notes

No prose documentation yet.