sound emulation /dev/dsp

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jun 4 04:20:00 GMT 2002


On Tue, Jun 04, 2002 at 12:29:27PM +0200, Wojciech Puchar wrote:
> i narrowed place of that to open("/dev/dsp",O_RDWR)
> 
> what am i doing wrong?

/dev/dsp only supports opening with O_WRONLY currently.  So your
open() fails due to the unsupported access mode O_RDWR.

Unfortunately, errno isn't set to EACCES.  I've fixed that for the
next version.

Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list