typedef void (*PK_FFREAD_f_t)(const int *guise, const int *strid, const int *nmax, char buffer[], int *nactual, int *ifail); Read from file Receives: int *guise --- class of file: --- FFCROL,FFCSNP,FFCJNL, --- FFCXMT,FFCXMO,FFCSCH,FFCLNC int *strid --- frustrum strid int *nmax --- maximum number of chars to read Returns: char buffer[] --- buffer containing read data int *nactual --- actual number of characters read --- equals *nmax except on EOF/error int *ifail --- error code: FR_no_errors --- FR_read_fail --- FR_end_of_file Description: This function reads from file (starting at the current position of the file pointer) storing a maximum of *nmax characters or bytes in the given buffer. It returns the actual number of characters or bytes read. This is equal to the number requested, except when the end of file is reached or if a read error occurs. The end of file error is only returned when no bytes are read. The file pointer is incremented by the number of characters or bytes read. In the case of a rollback file, Parasolid does not require the function to read beyond the actsiz limit which has been returned by FFOPRB.