Tests whether scope can be modified

ss_scope_iswritable is a function defined in ssscope.c.

Synopsis:

htri_t ss_scope_iswritable(ss_scope_t *scope)

Formal Arguments:

  • scope: Any open scope.

Description: If a scope is opened for read-only access then the objects in that scope cannot be modified. This function tests for that condition.

Return Value: Returns true (positive) if scope is open with write access (that is, the ss_scope_open call was passed the H5F_ACC_RDWR flag); returns false if the scope is opened for read-only access; returns negative on failures. It is considered a failure if scope is not open on the calling task.

Parallel Notes: Independent

See Also: