Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 May 2007 09:28:18 +0000
From:      "Joseph Koshy" <joseph.koshy@gmail.com>
To:        "Sonja Milicic" <tanarri@geri.cc.fer.hr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Writing to a file
Message-ID:  <84dead720705060228t2c79529cr27a90e34bbbb3e7a@mail.gmail.com>
In-Reply-To: <463CCE1E.1080906@geri.cc.fer.hr>
References:  <463CCE1E.1080906@geri.cc.fer.hr>

next in thread | previous in thread | raw e-mail | index | archive | help
> So, could anyone please give me a detailed
> explanation of how to open a file in kernel and write to it - best data
> types to use, functions, what to look out for, maybe a link to tutorial
> or manual that deals with this (if such a thing exists), etc.?

I'm not aware of such a tutorial.  I would suggest that you start with the
source for alq_open() in "/sys/kern/kern_alq.c", looking up the manual
pages for all the functions it calls as needed.

-- 
FreeBSD Volunteer,     http://people.freebsd.org/~jkoshy



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