xp_comm_proj/rd_dicom/Papyrus3/PapyFileSystemUnix3.c
/********************************************************************************/
/*										*/
/*	Papy3FRead : overwrites the standard read from file function		*/
/*	return : error (0 if OK, negative value otherwise)			*/
/*										*/
/********************************************************************************/
Papy3FRead : overwrites the standard read from file function
return : error (0 if OK, negative value otherwise)
Papy3FRead : overwrites the standard read from file function return : error ( 0 if OK negative value otherwise )
PapyShort
Papy3FRead (PAPY_FILE inFp, PapyULong *ioBytesToReadP, PapyULong inNb, void *ioBufferP)
{
  PapyShort  err = 0;
  err = (PapyShort)(fread ((char *) ioBufferP, (size_t) *ioBytesToReadP, inNb, inFp));
  return err;
}
PapyShort Papy3FRead ( PAPY_FILE inFp , PapyULong * ioBytesToReadP , PapyULong inNb , void * ioBufferP ) { PapyShort err = 0 ; err = ( PapyShort ) ( fread ( ( char * ) ioBufferP , ( size_t ) * ioBytesToReadP , inNb , inFp ) ) ; return err ; }
Papy3FRead : overwrites the standard read from file function
return : error (0 if OK, negative value otherwise)
Papy3FRead : overwrites the standard read from file function return : error ( 0 if OK negative value otherwise )