QNX Developer Support
![]() |
![]() |
![]() |
![]() |
PtSignalProcF_t, PtSignalProc_t
Type for defining a signal-handling function
Synopsis:
typedef int PtSignalProcF_t( int, void *); typedef PtSignalProcF_t *PtSignalProc_t;
Description:
These data types define pointers to signal-handling functions. The PtSignalProcF_t type is the function type that the PtSignalProc_t type points to. This allows you to do something like this:
PtSignalProcF_t my_signal_proc;
int my_signal_proc( int, void * ) {
...
}
The compiler should detect any inconsistencies between the two declarations of my_signal_proc() and give you an error (which is better than a "pointer mismatch" warning on the call to PtAppAddSignalProc()).
Classification:
Photon
See also:
PtAppAddSignalProc(), PtAppRemoveSignal()
Interprocess Communication in the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

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