The Complete SPRLIB & ANNLIB

fscanf_header

- read a dataset header from a stream (LOCAL)

SYNOPSIS

DATASET *fscanf_header (stream)

ARGUMENTS

FILE *stream A valid filepointer.

RETURNS

A pointer to a DATASET structure if all went well, NULL if an error occured.

FUNCTION

This routine reads the standard dataset header from an opened stream. See DATASET-IO-format for the layout. The function malloc_dataset is used to allocate the DATASET structure. First, remark lines (starting with !) are discarded. Then, the vectors in and out are read.

NOTE

This function is used by the fscanf_dataset function.

SEE ALSO

fscanf_pattern, fscanf_io_pattern, fscanf_sample, fscanf_dataset, fscanf_compressed_dataset

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