ba_enable_signal() -- enables the signalling mechanism
#include <netinet/ba_stat.h> int ba_enable_signal ( int signo );
The function ba_enable_signal() enables the signalling mechanism that is used by the ipqos module to send signals directly to the user process.
When using the signal(3C) library calls, some signals may be lost if two signals are sent at the same time. In your signal handler, always check that all pending events have been processed before returning.
The function ba_enable_signal() is passed the following argument:
|
signo |
Integer signal value. See signal(5) for a list of the current valid values for signo. |
The function ba_enable_signal() returns 0 on success, and -1 on error.
If an error occurs during a call to ba_enable_signal(), the variable ba_errno is set to one of the error codes listed in Table 4-2.