If you use an ISO C record I/O in your program, you must specify type = record in the open mode parameter of fopen() when you open a file, and you must use the FILE data type. The following figure provides an example.
Figure 40. Example: Using ISO C Record I/O
|
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.