Is it possible to write to file in kernel programming?

On Jan 8, 10:23 am, perumal316 <perumal...@gmail.com> wrote:
> I am writing a kernel module which prints out a message each time a
> system call is being made. I want to show these messages to user.
>
> On Jan 7, 10:56 pm, Greg KH <gre...@gmail.com> wrote:
>
> > On Wed, Jan 6, 2010 at 9:13 PM, perumal316 <perumal...@gmail.com> wrote:
> > > Hi All,
>
> > > Thanks for the input. But I am currently writing a module for Android.
> > > In module programming there is only printk but is it possible to show
> > > the kernel messages to the users? Meaning the user who will be using
> > > the Android phone with the module will be shown the kernel messages.
>
> > Not directly from the kernel, no, Linux does not work that way, sorry.
>
> > Why do you feel that a user would want to see a kernel message directly
> > anyway?
>
> > What type of kernel code are you writing?
>
> > thanks,
>
> > greg k-h
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to