Previous: Rewinding an /rdb File, Up: Rewinding an /rdb File
rewind database to first data row
#include <mst_rdb/mst_rdb.h>int rdb_rewind( FILE *fin, rdbHeader *hdr );
FILE *fin
- the stream to parse
rdbHeader *hdr
- the rdb file description
rdb_rewind repositions the database such that the next read will return the first row in the database.
Upon success it returns 0. If the file cannot be rewound, it returns 1. Upon error it returns -1.
Diab Jerius