On Wed, 5 Feb 2003 22:39:22 +0000 (GMT)
Chris Rankin <[EMAIL PROTECTED]> wrote:

>  --- Sebastian Kapfer <[EMAIL PROTECTED]> wrote:
> > May I ask what the child process is supposed to to
> > with a raw ALSA file
> > descriptor? AFAICT, developers are supposed to use
> > the alsa-lib API, and
> > not write to FD's. So the underlying file descriptor
> > looks to me like a
> > mere implementation detail which 99% of all users
> > shouldn't need to care about.
> 
> I consider this situation analogous to the
> relationship between file descriptors and FILE*
> pointers. By your argument, libc should probably set
> the FD_CLOEXEC flag here, too. But it doesn't.

Can you explain _why_ this is the case? I can find a use for stdio FD's
in the new process either. The exec'd process can't even know which FD
corresponds to which file.

-- 
Best Regards,   |   Hi! I'm a .signature virus. Copy me into
 Sebastian      |   your ~/.signature to help me spread!


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to