git.ozlabs.org Git - ccan/atom - ccan/ptr_valid/ptr_valid.h historyThe Comprehensive C Archive Networkhttp://git.ozlabs.org/?p=ccanRusty Russellstatic/git-favicon.pngstatic/git-logo.png2011-12-05T12:16:46Zgitwebptr_valid: test whether a ptr is valid.2011-12-05T12:16:46ZRusty Russellrusty@rustcorp.com.auRusty Russellrusty@rustcorp.com.au2011-12-05T12:16:46Zhttp://git.ozlabs.org/?p=ccan;a=commitdiff;h=1086d8cef04f90f6ba74a35fdc9a44fe615518a8
ptr_valid: test whether a ptr is valid.
Very slow, but sometimes you need to know without crashing.