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

SndFseek

Syntax
int SndFseek(FILE *fp, int yr,int mo,int dy,int hr,int mt,int sc,double *atme);
Header
superdarn/sndseek.h
Library
snd
Description

The SndFseek function searches for a snd data record for a specific time.

The search is performed on the open stream pointed to by the argument fp. The time to search for is specified by the arguments yr, mo,dy,hr,mt,sc giving the year, month, day, hour, minute and second.

The argument atme is a pointer to a double precision floating point number that is used to store the time of the closest record to the time requested expressed in seconds from 0:00UT January 1, 1970. If this argument is set to a NULL pointer then the time is not returned.

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