Title: +038=360.000-OU045T_02-PCD2.m4160 PLS SBC - File system Manual.pdf
This function allows reading data from a file. The read position is in- cremented within the open descriptor. This function returns the num- ber of elements (1 or 4 bytes element size) which have been read. If the end of the file is reached while reading, the read position is set at the end of the file and the number of effectively read bytes is returned. This function can only be called synchronously.Parameters51Handle (in)RINA handle to a previously opened file.2Buffer (desti- nation)DB X RINThe destination to transfer the read data.3Offset (desti- nation)R KINThe offset from the start of the destination buffer.4LengthR KINNumber of elements to read from the file.5RetValROUT Returned value (see below)Returned ValueSuccess≥ 0 Number of effectively read elements.Error< 0 Refer to chapter B.2.3.TimingPlease refer to chapter B.2.5 for commentsPCD7R5xxFileSystem error (e.g. invalid handle)< 1 msFileSystem error~ 2 ms