Read an alternate index specs from disk

saf_read_alternate_indexspec is a function defined in altindx.c.

Synopsis:

int saf_read_alternate_indexspec(SAF_ParMode pmode, SAF_AltIndexSpec *aspec, void **buf)

Formal Arguments:

  • pmode: The parallel mode.
  • aspec: The alternate index spec handle to read.
  • buf: The buffer to be filled in with the data.

Description: Read an alternate index specs from disk, involves actual I/O

Preconditions:

  • pmode must be valid. (low-cost)
  • aspec must be a valid alt index spec handle. (low-cost)
  • buf cannot be null. (low-cost)

Return Value: The constant SAF__SUCCESS is returned when this function is successful. Otherwise this function either returns an error number or throws an exception, depending on the value of the library’s error handling property.

Issues: There is no way for the caller to find out what datatype is being returned.

See Also: