Back to index

glibc  2.9
Classes | Defines | Typedefs | Functions
select.h File Reference
#include <features.h>
#include <bits/types.h>
#include <bits/select.h>
#include <bits/sigset.h>
#include <time.h>
#include <bits/time.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fd_set

Defines

#define __sigset_t_defined
#define __need_time_t
#define __need_timespec
#define __need_timeval
#define __suseconds_t_defined
#define __NFDBITS   (8 * sizeof (__fd_mask))
#define __FDELT(d)   ((d) / __NFDBITS)
#define __FDMASK(d)   ((__fd_mask) 1 << ((d) % __NFDBITS))
#define __FDS_BITS(set)   ((set)->__fds_bits)
#define FD_SETSIZE   __FD_SETSIZE
#define FD_SET(fd, fdsetp)   __FD_SET (fd, fdsetp)
#define FD_CLR(fd, fdsetp)   __FD_CLR (fd, fdsetp)
#define FD_ISSET(fd, fdsetp)   __FD_ISSET (fd, fdsetp)
#define FD_ZERO(fdsetp)   __FD_ZERO (fdsetp)

Typedefs

typedef __sigset_t sigset_t
typedef __suseconds_t suseconds_t
typedef long int __fd_mask

Functions

__BEGIN_DECLS int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout)

Class Documentation

struct fd_set

Definition at line 67 of file select.h.

Class Members
__fd_mask __fds_bits

Define Documentation

#define __FDELT (   d)    ((d) / __NFDBITS)

Definition at line 63 of file select.h.

#define __FDMASK (   d)    ((__fd_mask) 1 << ((d) % __NFDBITS))

Definition at line 64 of file select.h.

#define __FDS_BITS (   set)    ((set)->__fds_bits)

Definition at line 76 of file select.h.

#define __need_time_t

Definition at line 42 of file select.h.

#define __need_timespec

Definition at line 43 of file select.h.

#define __need_timeval

Definition at line 45 of file select.h.

#define __NFDBITS   (8 * sizeof (__fd_mask))

Definition at line 62 of file select.h.

Definition at line 37 of file select.h.

Definition at line 50 of file select.h.

#define FD_CLR (   fd,
  fdsetp 
)    __FD_CLR (fd, fdsetp)

Definition at line 94 of file select.h.

#define FD_ISSET (   fd,
  fdsetp 
)    __FD_ISSET (fd, fdsetp)

Definition at line 95 of file select.h.

#define FD_SET (   fd,
  fdsetp 
)    __FD_SET (fd, fdsetp)

Definition at line 93 of file select.h.

#define FD_SETSIZE   __FD_SETSIZE

Definition at line 81 of file select.h.

#define FD_ZERO (   fdsetp)    __FD_ZERO (fdsetp)

Definition at line 96 of file select.h.


Typedef Documentation

typedef long int __fd_mask

Definition at line 55 of file select.h.

Definition at line 38 of file select.h.

Definition at line 49 of file select.h.


Function Documentation

__BEGIN_DECLS int select ( int  __nfds,
fd_set *__restrict  __readfds,
fd_set *__restrict  __writefds,
fd_set *__restrict  __exceptfds,
struct timeval *__restrict  __timeout 
)