RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions
rtems_select.c File Reference
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <rtems.h>
#include <rtems/libio.h>
#include <rtems/error.h>
#include <rtems/rtems_bsdnet.h>
#include <errno.h>
#include <sys/fcntl.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/protosw.h>
#include <sys/proc.h>
#include <sys/filio.h>
#include <net/if.h>
#include <net/route.h>
Include dependency graph for rtems_select.c:

Macros

#define getbits(name, i)
 
#define putbits(name, i)   if (name) *name = ob[i]
 

Functions

struct socketrtems_bsdnet_fdToSocket (int fd)
 
int select (int nfds, fd_set *__restrict readfds, fd_set *__restrict writefds, fd_set *__restrict exceptfds, struct timeval *__restrict tv)
 

Macro Definition Documentation

◆ getbits

#define getbits (   name,
 
)
Value:
if (name) { \
ibits[i] = &name->fds_bits[0]; \
obits[i] = &ob[i].fds_bits[0]; \
FD_ZERO(&ob[i]); \
} \
else ibits[i] = NULL