Home| superdarn |src.lib|tk|snd| SndRead Index

SndRead

Syntax
int SndRead(int fid, struct SndData *snd);
Header
superdarn/sndread.h
Library
snd
Description

The SndRead function reads a snd data record from an open file.

The data is read from the file with the descriptor given by the argument fid. The data is decoded and used to populate the snd data structure pointed to by the argument snd.

Returns
Returns zero on success. On error, (-1) is returned.
Errors
On error, (-1) is returned.
Example
None