]> git.proxmox.com Git - wasi-libc.git/blob - libc-bottom-half/cloudlibc/src/libc/sys/select/FD_SET.c
Remove capsicum.h; WASI libc doesn't support that API, even internally.
[wasi-libc.git] / libc-bottom-half / cloudlibc / src / libc / sys / select / FD_SET.c
1 // Copyright (c) 2015 Nuxi, https://nuxi.nl/
2 //
3 // SPDX-License-Identifier: BSD-2-Clause
4
5 #include <sys/select.h>
6
7 #ifndef FD_SET
8 #error "FD_SET is supposed to be a macro as well"
9 #endif
10
11 // clang-format off
12 void (FD_SET)(int fd, fd_set *fd_set) {
13 FD_SET(fd, fd_set);
14 }