SdsRead - Read an SDS object from a file

Function

Read an SDS object from a file

Description

Read an SDS object from a file previously written by SdsWrite. An identifier to an external object is returned. If an internal version of the object is required it can be created using SdsCopy.

Language

C

Declaration

void SdsRead(char *filename, SdsIdType *id, StatusType *status)

Parameters

(">" input, "!" modified, "W" workspace, "<" output)

>filenamechar*The name of the file from which the object will be read.
<idSdsIdType*The identifier to the external object.
!statuslong*Modified status. Possible failure codes are:

SDS__NOTSDS Not a valid SDS object
SDS__NOMEM Insufficient memory
SDS__FOPEN Error opening the file
SDS__FREAD Error reading the file

Support

Jeremy Bailey, {AAO}

Version date

4-Feb-92

Click here for the DRAMA home page and here for the AAO home page.

 For more information, contact tjf@aao.gov.au