an_fd_clr(3) - Linux man page

Name

AN_FD_CLR - remove an Antinat connection handle from a socket set.

Synopsis

#include <antinat.h>

void AN_FD_CLR(ANCONN s, struct fd_set * fds );

Description

The AN_FD_CLR(3) function removes an Antinat socket from a set of file descriptors. This set of file descriptors can be used with select. Use the an_fd_isset(3) function to determine if a file descriptor is in the set, or an_fd_set(3) to place the file descriptor into the set. This function should be considered equivalent to the FD_CLR macro in your sockets library, except that it is for use with Antinat sockets.

s is a socket previously created with an_new_connection(3).

fds is an fd_set socket structure. Consult your platform's documentation for the select function for more information about this structure. It will contain a list of file descriptors suitable for use with the select call.

Return Value

There is no return value.

Errors

There is no error return.

See Also

select, an_fd_isset(3), an_fd_set(3), an_new_connection(3)

Author

Malcolm Smith <malxau@users.sourceforge.net>