LibC: Fix sockaddr_un implementation

This commit is contained in:
2024-02-07 02:13:21 +02:00
parent 41cad88d6e
commit 454bee3f02
3 changed files with 10 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ int listen(int socket, int backlog)
return syscall(SYS_LISTEN, socket, backlog);
}
ssize_t revc(int socket, void* __restrict buffer, size_t length, int flags)
ssize_t recv(int socket, void* __restrict buffer, size_t length, int flags)
{
return recvfrom(socket, buffer, length, flags, nullptr, nullptr);
}