ArgPutString - Put a character string item into an argument structure

Function

Put a character string item into an argument structure

Description

A character string item is written into a named component within the specified argument structure. The component is created if it does not currently exist.

Language

C

Declaration

void ArgPutString(SdsIdType id, char *name, char *value, const StatusType * status)

Parameters

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

>idSdsIdTypeIdentifier to the structure.
>namechar*Name of the component to be written to.
>valuechar*Null terminated string to be written.
!statusStatusType*Modified status. Possible failure codes are:

SDS__NOMEM Insufficient memory for creation
SDS__BADID Invalid Identifier
ARG__NOTSTRING Item is not a string

Support

Jeremy Bailey, {AAO}

Version date

28-Mar-92

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

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