On Thursday, November 13, 2003, at 11:34 AM, Matt Jaffa wrote: In a Kernel Extension, I am trying to do file reading and writing, how do i go about this, I included fstream but I dont think that this is supported. I'm surprised that you even succeeded in compiling the KEXT. This is not only "not supported", it can't work. You cannot use "user mode" libc in the kernel. I would suggest that you look at two sources of information: - the Apple developer website - the darwin-development/darwin-kernel archives (http://lists.apple.com) There should be plenty of discussion there about the advisability of doing file I/O from the kernel (executive summary: don't). Mac OS X provides other means for doing this; you should pursue them. Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | Men are from Earth. | Women are from Earth. | Deal with it. *--------------------------------------*-------------------------------* _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.