Re: File desciptors and PARENT and CHild



WANG Cong <xiyou.wangcong@xxxxxxxxx> writes:

What do you mean by saying "moves forward"? lseek?
IIRC, lseek in child process doesn't affect the parent process.

It does (on file descriptors resulting from the same open, including
those created with dup, fork, inherited across exec, etc.

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
.