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

Function syscall_getsockname

source/kernel/syscall.cpp:1753–1758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1751}
1752
1753U32 syscall_getsockname(CPU* cpu, U32 eipCount) {
1754 SYS_LOG1(SYSCALL_SOCKET, cpu, "getsockname socket=%d address=%X len=%d", ARG1, ARG2, ARG3);
1755 U32 result = kgetsockname(cpu->thread, ARG1, ARG2, ARG3);
1756 SYS_LOG(SYSCALL_SOCKET, cpu, " result=%d(0x%X)\n", result, result);
1757 return result;
1758}
1759
1760U32 syscall_getpeername(CPU* cpu, U32 eipCount) {
1761 SYS_LOG1(SYSCALL_SOCKET, cpu, "getpeername socket=%d address=%X len=%d", ARG1, ARG2, ARG3);

Callers

nothing calls this directly

Calls 1

kgetsocknameFunction · 0.85

Tested by

no test coverage detected