Remove building with NOCRYPTO option
[minix3.git] / lib / libc / rpc / svc_fdset.h
blob1a4fbc8ce397900ae0888ebbf7ca07aa4b357d38
1 /* $NetBSD: svc_fdset.h,v 1.1 2013/03/05 19:55:23 christos Exp $ */
3 #ifndef _LIBC
5 void init_fdsets(void);
6 void alloc_fdset(void);
7 fd_set *get_fdset(void);
8 int *get_fdsetmax(void);
10 # ifdef RUMP_RPC
11 # include <rump/rump.h>
12 # include <rump/rump_syscalls.h>
13 # undef close
14 # define close(a) rump_sys_close(a)
15 # undef fcntl
16 # define fcntl(a, b, c) rump_sys_fcntl(a, b, c)
17 # undef read
18 # define read(a, b, c) rump_sys_read(a, b, c)
19 # undef write
20 # define write(a, b, c) rump_sys_write(a, b, c)
21 # undef pollts
22 # define pollts(a, b, c, d) rump_sys_pollts(a, b, c, d)
23 # undef select
24 # define select(a, b, c, d, e) rump_sys_select(a, b, c, d, e)
25 # endif
27 #else
28 # define get_fdset() (&svc_fdset)
29 # define get_fdsetmax() (&svc_maxfd)
30 #endif