lkml.org 
[lkml]   [2008]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: epoll and shared fd's
On Thu, 28 Feb 2008, Bodo Eggert wrote:

> On Thu, 28 Feb 2008, Michael Kerrisk wrote:
>
> > On Tue, Feb 26, 2008 at 7:16 PM, Bodo Eggert <7eggert@gmx.de> wrote:
> > > Michael Kerrisk <mtk.manpages@googlemail.com> wrote:
> > >
> > > > b) It seems to me that you text doesn't quite make the point explicit
> > > > enough. I've tried to rewrite it; could you please check:
> > > >
> > > > A6 Yes, but be aware of the following point. A file
> > > > descriptor is a reference to an open file descrip-
> > > > tion (see open(2)). Whenever a descriptor is
> > > > duplicated via dup(2), dup2(2), fcntl(2) F_DUPFD,
> [.........]
>
> > > > Does that seem okay? I plan to include the text in man-pages-2.79.
> > >
> > > It's hard to read for me, and probably very hard to read for others.
> >
> > Bodo,
> >
> > I'm just reviewing this text, trying to see if I can improve it. At
> > the moment, I'm a little stuck. can you say a little more about why
> > you find it hard to read? that may help me improve it.
>
> I think it's enough to mention that the last copy of the file descriptor
> (e.g. by dup or fork) must be closed *or* the file must be explicitely
> unregistered (As far as I understand by now).

Exactly!
Michael, I noticed that there's a reference to it in Q6. We better clarify
that one.



- Davide




\
 
 \ /
  Last update: 2008-02-28 20:33    [W:0.356 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site