lkml.org 
[lkml]   [1999]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: es1371 midi_read patch
On Thu, Sep 02, 1999 at 07:54:40PM +0200, Thomas Sailer wrote:
> The driver already implements the O_NONBLOCK flag, therefore your
> patch is useless and changes the behaviour of the driver
> in a nonstandard way.

O_NONBLOCK is a completely separate issue. All my responses from you have
amounted to "You don't know anything about unix. You must be some kind of
moron. Your patch is useless." My proposal is hardly nonstandard.

According to "the standard", the midi read() call is supposed to work like
a socket read. And I quote from
http://www.4front-tech.com/pguide/midi.html:

Reading from the device waits until there are at least one byte in
the receive buffer. When the first byte is received, the driver
will not wait for additional characters. This means that the read
returns usually less bytes than requested.

Whether or not you accept 4front-tech.com's pages as the standard, that's
what applications will expect to see.

-Andy.


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

\
 
 \ /
  Last update: 2005-03-22 13:53    [from the cache]
©2003-2011 Jasper Spaans