summaryrefslogtreecommitdiff
path: root/userland/libc/sys/socket/setsockopt.c
blob: 3fa69d6b18041c0b89bfa1f3fae70fd6bd2ba8bd (plain)
1
2
3
4
5
6
7
8
#include <sys/socket.h>
#include <syscall.h>

int setsockopt(int socket, int level, int option_name, const void *option_value,
               socklen_t option_len) {
  RC_ERRNO(syscall(SYS_SETSOCKOPT, socket, level, option_name, option_value,
                   option_len));
}