h6. [[OS SWI Calls]] h6(. » [[OS_GBPB]] h6((. » OS_GBPB 3 h2. OS_ GBPB 3 h5. (SWI &0C) |_<^{width:4em}. Entry | | |<^. R0 |<^. 3 | |<^. R1 |<^. File handle | |<^. R2 |<^. Pointer to buffer | |<^. R3 |<^. Bytes to read | |<^. R4 |<^. File pointer | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. Preserved | |<^. R2 |<^. Pointer after end of data | |<^. R3 |<^. Number of bytes not transferred | |<^. R4 |<^. New file pointer | |\2<^. C flag is clear if R3=0, else it is set| h4. Use The purpose of this call is to read bytes from an open file at a given file pointer. h4. Notes The 'EOF-error-on-next-read' flag is cleared. Error is generated if invalid file handle, directory, or no read access. [[OS_GBPB 4]] read bytes from an open file at the current file pointer. h4. See also * [[OS_GBPB]] * [[OS_GBPB 4]] h5. Other languages documentation [[OS_GBPB 3 (français)|Français]]