On Mon, 29 Aug 2005, Alexander Farber wrote:

> is calling write(fd[1], NULL, 0) a good way to check if a pipe's 
> reading end is still not closed without writing any data to it? 
> Or should I better use poll() or anything else for that?

i would think it's best to use poll, or something like.

> Also, where is _thread_sys_write defined please? Can't find it

the libc makefiles create it.  it's just the syscall stub.

-- 
And that's why we call him Mr. Admin God Sir.

Reply via email to