ILE C/C++ Programmer's Guide

Using Input and Output Feedback Information

_RIOFB_T is a structure that contains I/O feedback information from ILE C record functions, for example, the number of bytes that are read or are written. By default, the ILE C record I/O functions update the fields in _RIOFB_T after a record I/O operation is performed.

If your program does not use all these values, you can improve your application's performance by opening a file as shown in the following figure:

Figure 42. I/O Feedback Information




fp = _Ropen("MY_LIB/MY_FILE", "rr, riofb = N");

By specifying riofb = N, only the num_bytes field (the number of bytes read or written in the _RIOFB_T structure) is updated. If you specify riofb = Y, all fields in the _RIOFB_T structure are updated.


[ Top of Page | Previous Page | Next Page | Table of Contents ]