[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Why Dprintk(printf) doesn't work in user space modules?



I already try two different ways. One is to use file handle to open
a file and write to a file--fprintf, but it doesn't work. I also use
file descriptor and write to a file--write, it doesn't work either.

-----Original Message-----
From: tux-list-admin@redhat.com [mailto:tux-list-admin@redhat.com]On Behalf
Of Alex Antropoff
Sent: Monday, March 25, 2002 6:42 PM
To: tux-list@redhat.com
Subject: Re: Why Dprintk(printf) doesn't work in user space modules?


On Mon, Mar 25, 2002 at 02:26:55PM -0700, Liang Yang wrote:
> Hi, Robert
>
> I'm very glad to receive your reply. You know, I seldom receive response
> from TUX-list about my
> questions.I guess TUX will become more popular only if more people know
how
> to develop their own
> user space modules.
>
> Can you tell me which function I can use to write the debugging
information
> to text file
> from my user space modules?
fprintf ? :-))
you can use your own logfiles.
>
> Thank you.
>
> Liang
>
>

--
Regards,
Alex Antropoff



_______________________________________________
tux-list mailing list
tux-list@redhat.com
https://listman.redhat.com/mailman/listinfo/tux-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []