PK_FFREAD_f_t   
typedef void (*PK_FFREAD_f_t)
(
--- received arguments ---
const int *guise,
const int *strid,
const int *nmax,
--- returned arguments ---
char buffer[],
int *nactual,
int *ifail
);

Used in:

PK_SESSION_ask_fru_o_t
PK_SESSION_frustrum_t
PK_SESSION_register_fru_o_t



  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 returned

Returns:
  char                      buffer[]       --- buffer containing read data
  int                      *nactual        --- actual number of chars in buffer
                                           --- 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 stored. This is normally
  equal to *nmax, 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.


Generated on: Fri, 04 Oct 2024 12:19:25 GMT