On Sun, 28 Nov 1999, Manfred Spraul wrote:
>for(;;){
> read(fd,&data,sizeof(data));
> if(EOF)
> break;
> process_data(&data);
>}
>
>Do you know if we have to ensure that no record is returned twice, no
>record is missed? I just checked the POSIX standard, but I found no clear
>answer. Neither 2.2.13 nor 2.3.29 enforce that.
I think that's ok, if you want to not miss data the file locking should be
used.
Andrea
- coda lock-up in 2.3.29 Manfred Spraul
- Re: coda lock-up in 2.3.29 Alexander Viro
- Re: coda lock-up in 2.3.29 Manfred Spraul
- Re: coda lock-up in 2.3.29 Alexander Viro
- Re: coda lock-up in 2.3.29 James Antill
- Andrea Arcangeli
