RE: Writing to file from Kernel Extension
RE: Writing to file from Kernel Extension
- Subject: RE: Writing to file from Kernel Extension
- From: "Carl Smith" <email@hidden>
- Date: Wed, 6 Apr 2005 20:32:48 -0400
- Thread-topic: Writing to file from Kernel Extension
That was what I was afraid of but I did see some stuff in sys/file.h, like fo_write, fo_close and so on, but could not find it used any where as an example. Are these not the functions I think they are?
Thanks
Carl
-----Original Message-----
From: darwin-kernel-bounces+csmith=email@hidden [mailto:darwin-kernel-bounces+csmith=email@hidden] On Behalf Of Justin Walker
Sent: Wednesday, April 06, 2005 8:30 PM
To: darwin-kernel Dev
Subject: Re: Writing to file from Kernel Extension
On Apr 6, 2005, at 17:21, Carl Smith wrote:
>
>
> Is there some sample code or special calls to be able to write from a
> kernel extension to a file, like with 'fopen', 'fprintf' and so on?
No there is not. The answer here is the same as that to your last
thread regarding the use of <stdlib.h> and getifaddrs() in kernel code:
you can't do it.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
When LuteFisk is outlawed,
Only outlaws will have LuteFisk
--------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden