On 30/07/2004, at 1:41 AM, Boris wrote:

Does anybody have an example of using Display files with fopen, fwrite... functions? All I could find in the documentation that this is possible.

Display files are record oriented files so use the _R functions not the stream functions. The ILE C Programmer's has examples. See Chapter 8 Using Device Files in Your ILE C Programs

Note: Section 8.4 says that fopen, fwrite, etc are only useful for message subfiles.

Simon Coulter.
   FlyByNight Software         AS/400 Technical Specialists

   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175                                   \ /
                 ASCII Ribbon campaign against HTML E-Mail  / \

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].