|
Yep. Sounded like she might have opened the file for output without append before every write, thus leaving her with just the last record written. -Marty ------------------------------ Date: Mon, 28 Apr 2003 15:37:58 -0400 From: qsrvbas@xxxxxxxxxxxx (Tom Liotta) Subject: RE: Writing to IFS 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
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.