void fluke_pset_set_state(fluke_pset_t *pset, fluke_pset_state *state);
This operation can be used to set the application-visible state of a port set.Note: Currently a port set has no visible state that can be set with this call. This call exists for completeness.
- pset
- The port set whose state is to be modified.
- state
- If non-null, a pointer to a structure containing the state of the port set.
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_get_state