... 1. This is not possible. Try and reconstruct an (small) example, where the above happens, and post it to the list. 2. You can try fseek with SEEK_SET
Message 1 of 1
, Jan 1, 2002
On Mon, Dec 31, 2001 at 08:33:03PM +0530, kameshj@... wrote:
| I opened the file in a+ mode.when I rewind the file stream i expect it to move to the beginning of the stream but it is not moving the stream to beginning but to the end of the stream.
| Any way to move the stream to beginning.
1. This is not possible. Try and reconstruct an (small) example, where
the above happens, and post it to the list.
2. You can try fseek with SEEK_SET
Chirag Kantharia, symonds.net/~chyrag/
Linux scrooge 2.4.17 #2 Mon Dec 24 12:46:20 IST 2001 i686 unknown
Your message has been successfully submitted and would be delivered to recipients shortly.
Changes have not been saved
Press OK to abandon changes or Cancel to continue editing
Your browser is not supported
Kindly note that Groups does not support 7.0 or earlier versions of Internet Explorer.
We recommend upgrading to the latest Internet Explorer, Google Chrome, or Firefox. If you are using IE 9 or later, make sure you turn off Compatibility View.