InterruptStatus()
QNX SDP8.0C Library ReferenceAPIDeveloper
Determine whether or not interrupts are enabled
Synopsis:
#include <sys/neutrino.h>
unsigned InterruptStatus( void );
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
The InterruptStatus() function indicates whether or not interrupts are currently enabled.
Returns:
0 if interrupts are disabled, or a nonzero value (not necessarily 1) if they're enabled.
Classification:
Safety: | |
---|---|
Cancellation point | No |
Signal handler | Yes |
Thread | Yes |
Page updated: