Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtAppRemoveFd()
Remove a file-descriptor function
Synopsis:
int PtAppRemoveFd( PtAppContext_t app, int fd );
Library:
ph
Description:
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.
Returns:
- 0
- Success.
- -1
- An error occurred.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtAppAddFd(), PtAppAddFdPri(), PtAppSetFdMode()
"Other I/O mechanisms" in the Interprocess Communication chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)