Re: Non-blocking read

Michael Marxmeier (mike@msede.com)
Tue, 15 Jun 1999 00:03:09 +0200


"David S. Miller" wrote:
> You probably want "filp->f_flags |= O_NONBLOCK"

Does this also work for plain files? Traditionally (read: on other
Linux flavour) this used to be available only for tty and sockets.
A quick test on Linux did not return any EAGAIN.

Michael

-- 
Michael Marxmeier           Marxmeier Software GmbH
E-Mail: mike@msede.com      Besenbruchstrasse 9
Voice : +49 202 2431440     42285 Wuppertal, Germany
Fax   : +49 202 2431420     http://www.msede.com/

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