RE: Writing to file from Kernel Extension
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Thread-index: AcU7COH97AnRYiM8QWOzajN9nf6UwgAABhuQ 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=fortresstech.com@lists.apple.com [mailto:darwin-kernel-bounces+csmith=fortresstech.com@lists.apple.com] 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/csmith%40fortresstech.c... This email sent to csmith@fortresstech.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Carl Smith