1 1.5 kamil /* $NetBSD: svc_fdset.h,v 1.5 2020/06/17 00:16:21 kamil Exp $ */ 2 1.1 christos 3 1.1 christos # ifdef RUMP_RPC 4 1.1 christos # include <rump/rump.h> 5 1.5 kamil # include <rump/rump_syscallshotgun.h> 6 1.1 christos # include <rump/rump_syscalls.h> 7 1.1 christos # undef close 8 1.1 christos # define close(a) rump_sys_close(a) 9 1.1 christos # undef fcntl 10 1.1 christos # define fcntl(a, b, c) rump_sys_fcntl(a, b, c) 11 1.1 christos # undef read 12 1.1 christos # define read(a, b, c) rump_sys_read(a, b, c) 13 1.1 christos # undef write 14 1.1 christos # define write(a, b, c) rump_sys_write(a, b, c) 15 1.1 christos # undef pollts 16 1.1 christos # define pollts(a, b, c, d) rump_sys_pollts(a, b, c, d) 17 1.1 christos # undef select 18 1.1 christos # define select(a, b, c, d, e) rump_sys_select(a, b, c, d, e) 19 1.1 christos # endif 20 1.3 christos 21 1.4 christos #ifdef _LIBC 22 1.3 christos typedef struct __fd_set_256 { 23 1.3 christos __fd_mask fds_bits[__NFD_LEN(256)]; 24 1.3 christos } __fd_set_256; 25 1.4 christos #endif 26