Query memory bound to a blob¶
ss_blob_bound_m1 is a function defined in ssblob.c.
Synopsis:
-
void *
ss_blob_bound_m1(ss_blob_t *blob, hid_t *mtype, hsize_t *size)¶
Formal Arguments:
blob: Blob to query.mtype [OUT]: Optional pointer for memory datatype, duplicated from that stored insize [OUT]: Optional pointer to receive the number of elements pointed to by the
Description: This is a convenience function for ss_blob_bound_m when the memory bound to the blob is one dimensional, has a zero starting offset, and is contiguous. It returns an offset instead of an HDF5 data space.
Return Value: Returns a pointer to memory (the same pointer as passed to ss_blob_bind_m) bound to the blob, and also returns a copy of the memory datatype and the number of consecutive elements contained in that memory. A null pointer is returned on failure. It is considered a failure to ask for memory information for a blob that is not bound to memory, or to use this function to query bound memory that cannot be described with simply a size.
Parallel Notes: Independent
See Also:
- ss_blob_bind_m: 15.2: Bind a blob to memory
- ss_blob_bound_m: 15.6: Query memory bound to a blob
- I/O: Introduction for current chapter