1.0 GET A RANDOM RECORD FROM AN INDEX FILE ___ _ ______ ______ ____ __ _____ ____ ********* * fgetr * ********* Usage fgetr(buffer, maxbytes, rec, iop); char *buffer; int maxbytes; int rec; FILE *iop; Description Read a record from the indicated file. Maxbytes is the maximum record size. Rec is the record number. The record is read by a direct call to the file service GET$R routine. Your program must not mix calls to fget() with calls to other I/O routines, such as fgets(). The actual number of bytes read is returned. Returns null on error. You must check $$ferr for the error code. Fgetr() is not present on Unix standard I/O libraries. Bugs