int xseq (key, rowkey, rowfile)
keystruct *key;
rowstruct *rowkey;
rowstruct *rowfile;
int sseq (key, rowkey, rowfile)
keystruct *key;
rowstruct *rowkey;
rowstruct *rowfile;
sseq reads a row at a time from the stream opened on rowfile->p_filein starting at rowfile->headlength and comparing the key column values from rowfile->p_columns with the corresponding column values in the array rowkey->p_columns using keymatch(), until the end of the table or list is reached. sseq stores the row offsets of the matching records in the array key->rowoffsets[], of which a maximum of MAXROW are allowed.
If key->flags&SINGLEROW is not zero, sseq returns as soon as it finds a single match.
sseq returns the number of matches found or -1 for a myriad of system and file errors.