Remove a file-descriptor function
int PtAppRemoveFd( PtAppContext_t app, int fd );
ph
This function removes an FD function, fd, from the list of input handlers for the application. You'll use an FD function when using pipes in a Photon application.
The app argument is the address of the application context, a structure that manages all the data associated with this application. This must be specified as NULL, so that the default context is used.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtAppAddFd(), PtAppAddFdPri(), PtAppSetFdMode()
“Other I/O mechanisms” in the Interprocess Communication chapter of the Photon Programmer's Guide