The Complete SPRLIB & ANNLIB

fprintf_sample

- write one sample to a stream (LOCAL)

SYNOPSIS

int fprintf_sample (stream, sample, dset)

ARGUMENTS

FILE *stream A valid filepointer.
SAMPLE *sample A pointer to the SAMPLE structure to be written.
DATASET *dset A pointer to the DATASET structure to which this sample belongs.

RETURNS

TRUE in case of an error, FALSE otherwise.

FUNCTION

This routine writes a sample to an opened stream. See DATASET-IO-format for the layout. Depending on the dset->SetFlag, the function fprint_io_pattern (for an IOSET) or fprint_pattern (for a LABELSET) is called.

NOTE

This function is used by the fprintf_dataset function.

SEE ALSO

fprintf_pattern, fprintf_io_pattern, fprintf_header, fprintf_dataset, fprintf_compressed_dataset

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998