Skip to content
BSD syscall#65

svc · unix #65

msync

Flushes changes to a memory-mapped file back to its backing store.

Prototype

int msync(caddr_t addr, size_t len, int flags);

Returns: int

Arguments

NameTypeDirDescription
addrcaddr_t-
lensize_t-
flagsint-

Version history

XNU tagmacOS#
xnu-1456.1.26macOS 10.6 Snow Leopard65
xnu-1486.2.1165
xnu-1504.15.365
xnu-1504.3.1265
xnu-1504.7.465
xnu-1504.9.1765
xnu-1504.9.2665
xnu-1504.9.3765

Notes

No prose documentation yet.