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

SndFwrite

Syntax
int SndFwrite(FILE *fp, struct SndData *snd);
Header
superdarn/sndwrite.h
Library
snd
Description

The SndFwrite function writes a snd data record to an open stream.

The data is written to the open stream pointed to by the argument fp. The data record is contructed from the snd data structure pointed to by the argument snd.

Returns
Returns the number of bytes written on success. On error, (-1) is returned.
Errors
On error, (-1) is returned.
Example
None