Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <select.h>

FD_SETSIZE

Interface status: externallyDefinedApi

FD_SETSIZE 1024U

Description

The value of this macro is the maximum number of file descriptors that a fd_setfd_set object can hold information about.

[Top]


FD_CLR

Interface status: externallyDefinedApi

FD_CLR (n, p) ((p)->__fds_bits[(n)/_NFDBITS] &= ~__fdset_mask(n))

Description

Clears the bit for the file descriptor fd in the file descriptor set fdset.

Parameters

n

p

[Top]


FD_ISSET

Interface status: externallyDefinedApi

FD_ISSET (n, p) ((p)->__fds_bits[(n)/_NFDBITS] & __fdset_mask(n))

Description

Returns a non-zero value if the bit for the file descriptor fd is set in the file descriptor set pointed to by fdset, and 0 otherwise.

Parameters

n

p

[Top]


FD_SET

Interface status: externallyDefinedApi

FD_SET (n, p) ((p)->__fds_bits[(n)/_NFDBITS] |= __fdset_mask(n))

Description

Sets the bit for the file descriptor fd in the file descriptor set fdset.

Parameters

n

p

[Top]


FD_ZERO

Interface status: externallyDefinedApi

FD_ZERO (p) do {                    \
    fd_set *_p;                 \
    __size_t _n;                    \
                            \
    _p = (p);                   \
    _n = _howmany(FD_SETSIZE, _NFDBITS);        \
    while (_n > 0)                   \
        _p->__fds_bits[--_n] = 0;        \
} while (0)

Description

Initialises the file descriptor set fdset to have zero bits for all file descriptors.

Parameters

p

[Top]


Typedef sigset_t

Interface status: externallyDefinedApi

typedef __sigset_t sigset_t;

Description

The sigset_t data type is used to represent a signal set.