Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 1998 06:43:47 +1000 (EST)
From:      John Birrell  <jb@cimlogic.com.au>
To:        roger@cs.strath.ac.uk (Roger Hardiman)
Cc:        hasty@rah.star-gate.com, multimedia@FreeBSD.ORG
Subject:   Re: cannot open /dev/bktr with pthreads C library
Message-ID:  <199806022043.GAA21228@cimlogic.com.au>
In-Reply-To: <35742AC4.2781@cs.strath.ac.uk> from Roger Hardiman at "Jun 2, 98 05:39:32 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Roger Hardiman wrote:
> Well, when compiled with -lc_r, calling open() to open
> /dev/bktr fails and returns errno of 25

libc_r tries to set the device to non-blocking and this is not supported
by the device. I've changed both -current and -stable sources to ignore
this on the assumption that if a device does not support O_NONBLOCK,
then it is naturally non-blocking.

-- 
John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137

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



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