dlm_TapWriteSignals()
Writes a signal status event to the tap server.
#include "dlmtap.h" DlmResult dlm_TapWriteSignals ( DlmLine line, DlmSignalFlag signals );
line | id of session to write to |
signals | signals to write |
dlm_TapWriteSignals() writes a signal status event to the tap server.
If successful, dlm_TapWriteSignals() returns a non-negative value. Otherwise, it returns a negative value indicating the reason it failed. Possible unsuccessful return values are:
if ((result = dlm_TapWriteSignals(dlm_Line, signals)) < 0) { printf("Error: Failure writing signals - %s (%d).\n", dlm_ErrorMessage(result), result); } else { /* do something */ }