AW: fopen returns ENOMEM-error on kde 1 audioserver

Ralf Habacker
Wed Jun 27 01:42:00 GMT 2001

> 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 ?


More information about the Cygwin-apps mailing list