next up previous contents
Next: 7.5 fluke_pset_create_hash: create a Up: 7 Port Sets Previous: 7.3 References

7.4 fluke_pset_create: create a new port set

SYNOPSIS

fluke_error_t fluke_pset_create( fluke_pset_t *new_pset);

DESCRIPTION

Creates a new port set object.

The port set's hash value will be set to an implementation-specific value. To set a specific hash value use fluke_pset_create_hash.

PARAMETERS

new_pset
A pointer to the address in the current task's address space at which to create the new port set object.

ERRORS

If any of the following errors is detected, the appropriate error code is returned: All of these have an implicit FLUKE_ prefix.
NO_MEMORY
Insufficient resources were available.

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.
OBJECT_EXISTS
An object already exists at the location pointed to by new_pset.
NOT_ALIGNED
new_pset is not properly aligned for a port set object.

RELATED INFORMATION

fluke_pset_create_hash



Utah Flux Research Group