Article View: bnr.lang.c++
Article #2Is pointer in my address space?
From: Goetz von Escher
Date: Fri, 09 Oct 1992 16:01
Date: Fri, 09 Oct 1992 16:01
10 lines
724 bytes
724 bytes
Hi there! Is there a way to find out if a pointer is a valid pointer in C/C++? Or in other words: If I want to read a value in memory, how do I know wether I can read the value at this address without causing an exception (bus error, segmentation fault and that stuff)? Anything? Goetz
Technical Details
Message-ID:
<1992Oct9.160154.2427@bnr.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!cunews!nrcnet0!bnrgate!bgtys9!bnr!crlstu4Show Full Headers
Complete Article Headers
Newsgroups: bnr.lang.c++,comp.lang.c++ Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!cunews!nrcnet0!bnrgate!bgtys9!bnr!crlstu4 From: crlstu4@bnr.ca (Goetz von Escher) Subject: Is pointer in my address space? Message-ID: <1992Oct9.160154.2427@bnr.ca> Keywords: process address memory pointer Lines: 9 Sender: crlstu4@bnr (Rob Borcic) Organization: Bell-Northern Research, Ottawa, Ontario, CANADA Date: Fri, 9 Oct 92 16:01:54 GMT