]> git.ozlabs.org Git - ccan/commit
mem: Add function to check whether memory ranges overlap
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 9 Sep 2015 08:04:33 +0000 (18:04 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sun, 13 Sep 2015 09:17:14 +0000 (19:17 +1000)
commit8f6126000bfebc71f566ce56387f86fcd567e2c7
treef1371638dbe3623805f815557d086605e14dd534
parenteeaa2c8b0d5db1128c873cad3bfcc6fd6b1858fe
mem: Add function to check whether memory ranges overlap

The test is simple, but every time I do it by hand, I always spend ages
convincing myself it's actually correct.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/mem/mem.h
ccan/mem/test/api.c