This is the mail archive of the cygwin-apps@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]

AW: fopen returns ENOMEM-error on kde 1 audioserver


> On Mon, Jun 25, 2001 at 01:32:37PM +0200, Ralf Habacker wrote:
> >Hi, on porting the kde 1 audioserver I have a problem calling fopen. On
> >opening any files it returns a ENOMEM error.
>
> There is a problem with audio and fork/exec in 1.3.2.  Is this problem
> also in snapshots?
>
This problems seems to be fixed, but one problem still remains. The kde code
for setting ioctl sound device checks the return value against zero. So it
assumes positiv values as an error.

I have looked in a linux man pages for ioctl and there is described that
only zero or -1 are defined as return values. Is the return value of 1 a
feature or is it a bug ?

Ralf


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