Re: [RFC] ioctl(2) return value

From: Abramo Bagnara (abramo@alsa-project.org)
Date: Thu Sep 21 2000 - 17:08:14 EST


Linus Torvalds wrote:
>
> On Thu, 21 Sep 2000, Abramo Bagnara wrote:
> >
> > In ALSA we use the return value from ioctl as a simple way to return a
> > positive number to user space (if the return value is less than 0 we got
> > error, of course)
>
> Looks fine to me. It's how most UNIX system calls work, I don't see why
> ioctl() should be any different.
>
> Linus

Cause my fault in sending to bad lkml address this answer has never
reached the list.

I'm sorry (now I've updated my address book).

-- 
Abramo Bagnara                       mailto:abramo@alsa-project.org

Opera Unica Via Emilia Interna, 140 Phone: +39.0546.656023 48014 Castel Bolognese (RA) - Italy Fax: +39.0546.656023

ALSA project is http://www.alsa-project.org sponsored by SuSE Linux http://www.suse.com

It sounds good! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:25 EST