[Previous]
[Bookset]
[Next]

PtAppRemoveFd()

Remove a file-descriptor function

Synopsis:

int PtAppRemoveFd( PtAppContext_t app, int fd );

Description:

This function removes an FD function, fd, from the of input handlers for the application.

The app argument is the address of the application context, a structure that manages all the data associated with this application. For Photon 1.1x, this must be specified as NULL, so that the default context is used.

Returns:

0
Success
-1
An error occurred

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAppAddFd()


[Previous]
[Bookset]
[Next]