in reply to Re: Writing at specific position and length in binary file.
in thread Writing at specific position and length in binary file.

To: wazat, a start reading about sysread() and syswrite() and it looks like a good solution only in cases the program does not include seek() tell() etc. Unfortunately in my case these functions are necessary. It is nice to know that there are alternative solutions for future use. Thank you for your time and effort.

I am new user to this cite and I have not figure out how to vote answers, it is not so clear to me. Can you point me to right direction to read the documentation thanks again. Best Regards.

  • Comment on Re^2: Writing at specific position and length in binary file.

Replies are listed 'Best First'.
Re^3: Writing at specific position and length in binary file.
by no_slogan (Deacon) on Jan 12, 2014 at 06:33 UTC

    You can use sysseek with sysread and syswrite. There's also a workaround for tell.

    But, you probably still don't want to use the sys* functions, because they don't do any buffering.

    Also, you may like to read about the Voting/Experience System.

      again I suggest listening to no_slogan

      use print