Messages in this thread | | | Date | Thu, 28 Feb 2008 20:17:07 +0100 (CET) | From | Bodo Eggert <> | Subject | Re: epoll and shared fd's |
| |
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). -- "Aim towards the Enemy." -Instruction printed on US Rocket Launcher
| |