Re: File descriptors and Sound

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 9 Aug 1999 00:53:14 +0100 (BST)


> If the device is full-duplex how can I have one application
> reading it and another writing?

You either do file handle passing (funky) or normally one program runs the
other: ie

open file
fork()

child:
exec other app (which inherits file)
exit

parent:
run code

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/