[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    FIOASYNC ...
From:       Luigi Rizzo <luigi () labinfo ! iet ! unipi ! it>
Date:       1998-02-27 7:13:36
[Download RAW message or body]

anyone knows how should i handle FIOASYNC within the audio device
driver ? Following Bruce's comments about FIONBIO which should be
handled at vfs rather than device driver, i wonder if the same applies
to FIOASYNC.

second thing how do i behave when a read (or a write) is issued which
would block because there is no sufficient data in the buffer (or not
enough buffering for the write) ? Should i return with a short count or
with an error ?

	cheers
	luigi
-----------------------------+--------------------------------------
Luigi Rizzo                  |  Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it    |  Universita' di Pisa
tel: +39-50-568533           |  via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522           |  http://www.iet.unipi.it/~luigi/
_____________________________|______________________________________

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic