From owner-freebsd-hackers Fri Feb 27 00:46:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA19937 for freebsd-hackers-outgoing; Fri, 27 Feb 1998 00:46:30 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA19921 for ; Fri, 27 Feb 1998 00:46:24 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA15312 for hackers@freebsd.org; Fri, 27 Feb 1998 08:13:37 +0100 From: Luigi Rizzo Message-Id: <199802270713.IAA15312@labinfo.iet.unipi.it> Subject: FIOASYNC ... To: hackers@FreeBSD.ORG Date: Fri, 27 Feb 1998 08:13:36 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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