SDS_SET(3)
NAME
sds_set_data sds_set_fillvalue sds_set_numbytes
sds_set_filepointer sds_set_datatype sds_set_rank
sds_set_length sds_set_parent sds_set_attribute
sds_set_attrname sds_set_attrvalue sds_set_attrtype
sds_set_comment
-a set of functions to set the sds structure
SYNOPSIS
int sds_set_data(SDS *sds, void *data);
int sds_set_datatype(SDS *sds, int datatype);
int sds_set_fillvalue(SDS *sds, void *fillvalue);
int sds_set_rank(SDS *sds, int rank);
int sds_set_length(SDS *sds, int *length);
int sds_set_parent(SDS *sds, IDS *idsptr);
int sds_set_numbytes(SDS *sds, int numbytes);
int sds_set_filepointer(SDS *sds, FILE *fp);
int sds_set_attribute (SDS *sdsptr, char *name,
void *value, int attrtype, char *comment)
int sds_set_attrname (ATTRIBUTES *attr, char *name)
int sds_set_attrvalue(ATTRIBUTES *attr, void *value, int datatype)
int sds_set_attrtype (ATTRIBUTES *attr, int datatype)
int sds_set_comment (ATTRIBUTES *attr, char *comment)
DESCRIPTION
The routines are listed here for convenience. Please refer
to the individual manual page for a more complete descrip-
tion.
FILES
~soi/(release)/include/soi_sds.h
SEE ALSO
sds_set_data, sds_set_datatype, sds_set_numbytes,
sds_set_filepointer, sds_set_rank, sds_set_length,
sds_set_fillvalue, sds_set_parent, sds_set_attribute,
sds_set_attrname, sds_set_attrvalue, sds_set_attrtype,
sds_set_comment
FEATURES and BUGS
Please refer to the individual manual page for a more com-
plete description.
In sds_set_attribute, the attribute value is passed through
the generic pointer to the value, (void *) and datatype must
be accurate in order for the copy to occur successfully.
HISTORY
93.10.12 K Scott: created this file for SOI V.0.7 93.11.05
L Ng: included more comments
1994-02-08 SOI Version 0.8