void fluke_pset_get_state(fluke_pset_t *pset, fluke_pset_state *state);
This operation retrieves the application-visible state of a port set. The port set itself is unaffected by the operation.
- pset
- The port set whose state is to be retrieved.
- state
- If non-null, the structure to fill in with the port set state.
If any of the following errors is detected by the Fluke implementation, it causes the current thread to take a synchronous exception with one of the following codes. All of these have an implicit FLUKE_INSANITY_ prefix.
- NO_OBJECT
- pset does not point to an active object.
- NOT_PORT
- The object pointed to by pset is not a port set object.
- INVALID_OBJECT
- The state of the port set object has become invalid.
fluke_pset_set_state