Yes. Remember the file offset is shared, you may find pread/pwrite more
useful
> * if a clone is blocked reading/writing from a descriptor, does
> close()ing it in another clone cause an error return from the
> blocked clone ? does the same happen if the descriptor is in
> a select() set (and blocked), when the descriptor is close()d
> in another clone ?
It closes when all the syscalls using it return
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/