From f3c7d7fbdea1f2bac81909116ddb747a1f8abdf5 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 22 Nov 2023 00:47:55 +0100 Subject: Meta: Cleanup of header files such that they are partially shared The /include directory contains definitons that both the kernel and libc need to be in sync. --- userland/libc/include/sys/socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'userland/libc/include/sys/socket.h') diff --git a/userland/libc/include/sys/socket.h b/userland/libc/include/sys/socket.h index c4f10e2..7a2cc23 100644 --- a/userland/libc/include/sys/socket.h +++ b/userland/libc/include/sys/socket.h @@ -7,3 +7,4 @@ size_t recvfrom(int socket, void *buffer, size_t length, int flags, struct sockaddr *address, socklen_t *address_len); size_t sendto(int socket, const void *message, size_t length, int flags, const struct sockaddr *dest_addr, socklen_t dest_len); +int listen(int socket, int backlog); -- cgit v1.2.3