Skip to content
BSD syscall#15

svc · unix #15

chmod

Changes the permission bits of a file at the given path.

Prototype

int chmod(user_addr_t path, int mode);

Returns: int

Arguments

NameTypeDirDescription
pathuser_addr_t-
modeint-

Version history

XNU tagmacOS#
xnu-1456.1.26macOS 10.6 Snow Leopard15
xnu-1486.2.1115
xnu-1504.15.315
xnu-1504.3.1215
xnu-1504.7.415
xnu-1504.9.1715
xnu-1504.9.2615
xnu-1504.9.3715

Notes

No prose documentation yet.