[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Solved: life span of file descriptors?
Hi,
> Not that I would like to discourage your investigations, but there
> already is such a monitoring system that works in the same way as you
> just described:
yes I'm aware of it. I just wanted to learn about system calls.
> > So the question is: Why can't I write more than once to the
> > same file descriptor in the kernel from different system calls?
>
> Are you sure you are still tracing the same process? A file descriptor
> is only valid within the context of a single process.
OF COURSE!
Luckily this is a "Newbies" mailing list :-)
You're absolutely right.
Thank you!
-- Torsten
begin:vcard
n:Fink;Torsten
tel;fax:+49-30-83875109
tel;home:+49-177-7438287
tel;work:+49-30-83875113
x-mozilla-html:FALSE
url:http://www.inf.fu-berlin.de/~tnfink/
org:Freie Universität Berlin;Institut für Informatik
adr:;;Takustr.9;Berlin;;14195;Germany
version:2.1
email;internet:tnfink@inf.fu-berlin.de
x-mozilla-cpt:;-24640
fn:Torsten Fink
end:vcard