Skip to content
BSD syscall#133

svc · unix #133

sendto

Sends data on a socket, optionally to a specific destination address.

Prototype

int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, socklen_t tolen);

Returns: int

Arguments

NameTypeDirDescription
sint-
bufcaddr_t-
lensize_t-
flagsint-
tocaddr_t-
tolensocklen_t-

Version history

XNU tagmacOS#
xnu-1456.1.26macOS 10.6 Snow Leopard133
xnu-1486.2.11133
xnu-1504.15.3133
xnu-1504.3.12133
xnu-1504.7.4133
xnu-1504.9.17133
xnu-1504.9.26133
xnu-1504.9.37133

Notes

No prose documentation yet.