|
Marty: I'll assume by "output mode" you essentially mean without setting the O_APPEND bit in the oflag parameter for the open() API. By setting this bit, IFS streamfiles can be opened in append mode for adding to the end of file. Tom Liotta midrange-l-request@xxxxxxxxxxxx wrote: > 2. RE: Writing to IFS (Urbanek, Marty) > >Make sure you're not re-opening the file in output mode before every record >you write. Every time you open it for output you clear it. Either open it >once and leave it open until you've written all your records or open it for >append for subsequent writes after the first. -- -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertechgroup.com __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
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 [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.