| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Tue, 4 Jun 2002 13:20:48 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: sound emulation /dev/dsp |
| Message-ID: | <20020604132048.D1886@cygbert.vinschen.de> |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <Pine DOT NEB DOT 4 DOT 33 DOT 0206041227540 DOT 4084-100000 AT chylonia DOT 3miasto DOT net> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <Pine.NEB.4.33.0206041227540.4084-100000@chylonia.3miasto.net> |
| User-Agent: | Mutt/1.3.22.1i |
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 AT cygwin DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |