gtpc2m2c | C/C++ Language Support User's Guide |
This function initializes the file descriptor set to contain no file
descriptors.
Format
#include <sysgtime.h>
void FD_ZERO(fd_set* fdset)
- fdset
- The file descriptor set.
Normal Return
Void.
Error Return
Void.
Programming Considerations
- If you want to monitor more than 256 file descriptors on a single
tpf_select_bsd call, the application must define its own FD_SETSIZE
before the include of header sysgtime.h.
- The purpose of the FD functions is to set up the input for and check the
output from a tpf_select_bsd call. The FD_CLR,
FD_COPY, FD_SET, and FD_ZERO functions set up
the input for the tpf_select_bsd call. The
FD_ISSET function checks the output from the
tpf_select_bsd call.
Examples
See the example provided for the tpf_select_bsd function in tpf_select_bsd-Indicates Read, Write, and Exception Status.
Related Information