Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 1998 08:13:36 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        hackers@FreeBSD.ORG
Subject:   FIOASYNC ...
Message-ID:  <199802270713.IAA15312@labinfo.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802270713.IAA15312>