This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sound emulation /dev/dsp


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]