| /src/external/bsd/ntp/dist/include/ |
| ntp_select.h | 4 * Not all machines define FD_SET in sys/types.h 10 /* Could say: !defined(FD_SET) && defined(HAVE_SYS_SELECT_H) */ 11 /* except FD_SET can legitimately be a typedef... */ 17 extern int select(int width, fd_set *pReadFds, fd_set *pWriteFds, 18 fd_set *pExceptFds, struct timeval *pTimeOut); 22 #if !defined(FD_SET) 25 # define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS))) 34 } fd_set; typedef in typeref:struct:__anon7372
|
| /src/sys/sys/ |
| fd_set.h | 1 /* $NetBSD: fd_set.h,v 1.8 2024/05/12 10:34:56 rillig Exp $ */ 66 typedef struct fd_set { struct 68 } fd_set; typedef in typeref:struct:fd_set 70 #define FD_SET(n, p) \ 80 fd_set *__fds = (p); \ 99 fd_set *__f = (f), *__t = (t); \
|
| /src/external/bsd/ntp/dist/libntp/lib/isc/win32/include/isc/ |
| net.h | 156 * Fix the FD_SET and FD_CLR Macros to properly cast 161 for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { \ 162 if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET) fd) { \ 163 while (__i < ((fd_set FAR *)(set))->fd_count-1) { \ 164 ((fd_set FAR *)(set))->fd_array[__i] = \ 165 ((fd_set FAR *)(set))->fd_array[__i+1]; \ 168 ((fd_set FAR *)(set))->fd_count--; \ 174 #undef FD_SET 175 #define FD_SET(fd, set) do { \ 177 for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { [all...] |
| /src/external/bsd/top/dist/ |
| top.c | 78 /* if FD_SET and friends aren't present, then fake something up */ 79 #ifndef FD_SET 80 typedef int fd_set; typedef 82 #define FD_SET(f, x) (*(x) = 1<<f) 621 fd_set readfds; 647 FD_SET(STDIN_FILENO, &readfds);
|
| /src/external/gpl3/gdb/dist/readline/readline/examples/rlfe/ |
| os.h | 503 #ifndef FD_SET 505 typedef struct fd_set { int fds_bits[1]; } fd_set; typedef in typeref:struct:fd_set 508 # define FD_SET(b, fd) ((fd)->fds_bits[0] |= 1 << (b))
|
| /src/external/gpl3/gdb.old/dist/readline/readline/examples/rlfe/ |
| os.h | 503 #ifndef FD_SET 505 typedef struct fd_set { int fds_bits[1]; } fd_set; typedef in typeref:struct:fd_set 508 # define FD_SET(b, fd) ((fd)->fds_bits[0] |= 1 << (b))
|
| /src/lib/libc/isc/ |
| eventlib_p.h | 201 #undef FD_SET 202 #define FD_SET(fd, maskp) \ 227 fd_set rdLast, rdNext; 228 fd_set wrLast, wrNext; 229 fd_set exLast, exNext; 230 fd_set nonblockBefore;
|
| /src/external/bsd/am-utils/dist/include/ |
| am_defs.h | 1436 #ifndef FD_SET 1437 # define FD_SET(fd, set) (*(set) |= (1 << (fd))) 1441 #endif /* not FD_SET */
|
| /src/external/bsd/libbind/dist/isc/ |
| eventlib_p.h | 201 #undef FD_SET 202 #define FD_SET(fd, maskp) \ 227 fd_set rdLast, rdNext; 228 fd_set wrLast, wrNext; 229 fd_set exLast, exNext; 230 fd_set nonblockBefore;
|