|
And the timestamp idea would have been acceptable, given that this is a maintenance utility where a time collision is more likely to occur in testing than in production.
And with regard to tmpnam() having separate IFSIO and NOIFSIO versions, that possibility never occurred to me. I don't often use fopen(), as I've become accustomed to using UNIX-type I/O for IFS files, record I/O for QSYS files, and STDIO only for interactive I/O, or for those rare cases when I want to use a source PF for initial tests on something that's eventually going to be reading from an IFS file.
-- JHHL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.