On Dec 20, 2007 4:13 PM, Daniel Schnell <[EMAIL PROTECTED]> wrote:
> Gilles Chanteperdrix wrote:
> > Hi,
> >
> > I have a problem with auto closing of file descriptors and fork. I
> > have an application (a modified pppd, to name it), which in a certain
> > mode (pppd "updetach" mode) opens some real-time file descriptors,
> > forks and exit the parent, continuing to use the file descriptors in
> > the child. The problem is that when exiting the parent, file
> > descriptors are automatically destroyed and therefore can not be used
> > in the child.
> >
> > Any ideas for a fix ?
>
> Maybe not exiting the child but saying waitpid() ?

The problem is that the aim of pppd updetach is to exit the parent
once the connection is established, so that the script running pppd
can continue.

-- 
                                               Gilles Chanteperdrix

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to