SDS_WRITE(3)
NAME
sds_read sds_write
-a set of functions to handle FITS file input/output
SYNOPSIS
#include <soi_sds.h>
SDS *sds_read(FILE *pointer, int datatype, int filetype)
int sds_write(SDS *sdsptr, FILE *pointer, int filetype)
DESCRIPTION
FITS file reader and writer
sds_read reads from the filepointer provided and converts,
if necessary to the new type. If the type is SDS_ANY then
the no conversion is performed and the file is read in its
native type. New with version 0.9, the argument filetype is
required. Supported filetypes can be found in soi_sds.h.
sds_write writes out information in the sds to the specified
stream.
FILES
~soi/(release)/include/soi_sds.h
~soi/(release)/src/libsds.d/sds_read.c
~soi/(release)/src/libsds.d/sds_write.c
SEE ALSO
sds_read sds_write
DIAGNOSTICS
none
BUGS
In this release sds_read and sds_write are wrappers on the
lower-level functions. Thus, sds_read has all the bugs and
features of sds_read_fits and sds_convert, while sds_write
has all the bugs and features of sds_write_fits.
The only filetypes that are successfully supported as of
94.06.20 are SDS_FITS and SDS_RAW.
HISTORY
93.10.12 K Scott: created this file for SOI V.0.7
1994-02-08 SOI Version 0.8