gtpc2m2bC/C++ Language Support User's Guide

FD_SET-Add a File Descriptor to a File Descriptor Set

This function adds a file descriptor to a file descriptor set.

Format

#include   <sysgtime.h>
void FD_SET(int fd, fd_set* fdset)
 

fd
The file descriptor.

fdset
The file descriptor set.

Normal Return

Void.

Error Return

Void.

Programming Considerations

Examples

See the example provided for the tpf_select_bsd function in tpf_select_bsd-Indicates Read, Write, and Exception Status.

Related Information