Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2001 14:24:29 -0700
From:      Warner Losh <imp@harmony.village.org>
To:        David Rufino <daverufino@btinternet.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: character device driver 
Message-ID:  <200102132124.f1DLOTW41431@harmony.village.org>
In-Reply-To: Your message of "Tue, 13 Feb 2001 19:31:50 GMT." <20010213193150.A882@btinternet.com> 
References:  <20010213193150.A882@btinternet.com>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010213193150.A882@btinternet.com> David Rufino writes:
: I'm writing a character device driver in which each minor device can be
: opened more than once.  When a device is opened is there a way to associate
: some private data for each opened instance ? Thanks.

No.  You only get one close call and in the kernel all instances of a
minor device are treated identically.

Warner


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?200102132124.f1DLOTW41431>