if lseek is libc and not available why is the symbol for lseek in the kext symbol file? On Wednesday, August 7, 2002, at 10:19 AM, Justin C. Walker wrote: On Wednesday, August 7, 2002, at 09:05 AM, David Blanton wrote: I want to use lseek from my KEXT. The function definition is not in unistd.h as the man page indicates ... ergo compile error. But, inspection of the KEXT symbol file shows lseek. So, can someone tell me how to use lseek from my KEXT? Can't be done. lseek is a libc function, and libc is generally not available in kernel extensions. If you have file operations to do, use a user-mode application, where libc is available. 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. David Blanton Elisar Software Corporation Albuquerque _______________________________________________ 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.
participants (1)
-
David Blanton