Buffer behavior as in C?

2003-10-28 Thread NPopovici
Title: Buffer behavior as in C? Hello guys, I am doing the following : reading from a binary file with sysread() into a buffer 1024 bytes. What I would like to do is to iterate through each byte within this buffer ( somekind of pointer to byte in C ). I do not seem to see the solution. Any

Re: Buffer behavior as in C?

2003-10-28 Thread asondhi
Why do you need !=0 in your while _expression_? Sincerely, Arun Sondhi CCNP,CCDP Ph: +1 414.382.0206 Extn: 20206 [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/28/2003 08:22 AM To:[EMAIL PROTECTED] cc: Subject:Buffer behavior as in C? Hello guys, I am

AW: Buffer behavior as in C?

2003-10-28 Thread NPopovici
Title: AW: Buffer behavior as in C? As I said this was a snip from my code. Actually I am reading 2 files at once and I want to stop the while loop when I am reaching EOF in one of the files( doesn't matter which one ). And I did it like that ( with another sysread () from the second file