From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 08:23:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D32F216A4CE for ; Wed, 7 Jan 2004 08:23:32 -0800 (PST) Received: from web21502.mail.yahoo.com (web21502.mail.yahoo.com [66.163.169.13]) by mx1.FreeBSD.org (Postfix) with SMTP id E19FF43D45 for ; Wed, 7 Jan 2004 08:23:31 -0800 (PST) (envelope-from chhavi_kansal@yahoo.com) Message-ID: <20040107162331.78318.qmail@web21502.mail.yahoo.com> Received: from [202.56.254.13] by web21502.mail.yahoo.com via HTTP; Wed, 07 Jan 2004 08:23:31 PST Date: Wed, 7 Jan 2004 08:23:31 -0800 (PST) From: Chhavi Kansal To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: FreeBSD 4.7: kernel routine for open, close, ioctl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 16:23:32 -0000 Hi all, I want to open a "/dev" file from kernel module itself. Is there any interface to perfrom open, close and ioctl call ? I know that on linux filp_open calls exist. I'm looking for the same kind of interface.. Any pointers would be of great help. thanx and regards, Chhavi --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes