Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 01:52:32 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        "Andrew G. Sverdlichenko" <blaze@infosec.ru>
Cc:        "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org>
Subject:   Re: drivers 
Message-ID:  <200001260952.BAA00698@mass.cdrom.com>
In-Reply-To: Your message of "Tue, 25 Jan 2000 16:30:14 %2B0300." <31301C81A549D311B46C006008610325125602@NT_SERVER> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Hello.
> 
> If we have a character device driver with and more than one
> open handles for it, can read() and ioctl() choose which one
> is used?

No.  This is not how the BSD driver model works; you should create 
multiple instances of the driver if you need multiple discrete opens.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




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?200001260952.BAA00698>