SDS_GET_FITS_DATA(3)



NAME

     sds_get_fits_data

     - reads data from a file


SYNOPSIS

     #include <soi_sds.h>

     int sds_get_fits_data(SDS *sdsptr, FILE *fp)



DESCRIPTION

     sds_get_fits_data

     reads sds data FITS file pointer.  The file pointer must  be
     set  to the correct position in the file for this routine to
     work.

     The data is read by this routine from the file.

     Returns an integer error code if  an  error  is  encountered
     when  the  read fails.  Also if the length of the data being
     read is 0, it reads nothing and sets sds->data  pointing  to
     NULL.



FILES

     ~soi/(release)/include/soi_sds.h
     ~soi/(release)/include/soi_error.h
     ~soi/(release)/src/libsds.d/sds_wfits.c



SEE ALSO


FEATURES and BUGS

     The file pointer must be set to the correct  position in the
     file  for  this  routine to work.  It should rewind the FILE
     pointer and set it in appropriate position.



HISTORY

     94.08.31 A Jain:  created this file