On Friday, February 14, 2003, at 10:00 PM, Jeff Jenkins wrote: I think you are asking a question that everyone who has ever used the C language would like to have a simple solution to. The answer is no, there is nothing inherent in the language that does this. Yes, I know that C itself has nothing to help, but surely the information is available to the kernel. The virtual memory system must maintain tables of valid/invalid address ranges and read/write permissions for every task, so it's not inconceivable that such an API could be made available. Win32, for example, has routines called IsBadReadPtr(), IsBadWritePtr(), IsBadCodePtr() and IsBadStringPtr() that do this. Brent _______________________________________________ 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.