MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / syscall_sendto

Function syscall_sendto

source/kernel/syscall.cpp:1767–1772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1765}
1766
1767U32 syscall_sendto(CPU* cpu, U32 eipCount) {
1768 SYS_LOG1(SYSCALL_SOCKET, cpu, "sendto socket=%d buffer=%X len=%d flags=%X dest=%s", ARG1, ARG2, ARG3, ARG4, socketAddressName(cpu->memory, ARG5, ARG6).c_str());
1769 U32 result = ksendto(cpu->thread, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6);
1770 SYS_LOG(SYSCALL_SOCKET, cpu, " result=%d(0x%X)\n", result, result);
1771 return result;
1772}
1773
1774U32 syscall_sendmsg(CPU* cpu, U32 eipCount) {
1775 SYS_LOG1(SYSCALL_SOCKET, cpu, "sendmsg socket=%d message=%X flags=%X", ARG1, ARG2, ARG3);

Callers

nothing calls this directly

Calls 3

socketAddressNameFunction · 0.85
ksendtoFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected