Remove a condition from an entity
#include <ha/ham.h> int ham_condition_remove( ham_condition_t *chdl, unsigned flags );
libham
The ham_condition_remove() function removes a condition from an entity.
The chdl argument is a handle to a condition that was previously obtained by a call to ham_condition() or to ham_condition_handle().
There are no flags defined at this time.
The connection to the HAM is invalid. This happens when the process that opened the connection (using ham_connect()) and the process that's calling ham_condition_remove() aren't the same.
In addition to the above errors, the HAM returns any error it encounters while servicing the request.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |