summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-06-30 16:10:52 -0400
committerJakob Kaivo <jkk@ung.org>2020-06-30 16:10:52 -0400
commitaacd5c7f5eb7e9a247e453a13ce7534bd28aed34 (patch)
treeb2f0228d660af5cafe3e25f2db9953cd0a207dab
parent67a110655903e42f5521576451c100c527b5c45a (diff)
fix code blocks
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 1b606e4..fcfcded 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
MapAlloc
--------
MapAlloc is a memory mapping based allocator with an API compatible with
-the C <stdlib.h> dynamic memory functions. By using memory mappings for each
+the C `<stdlib.h>` dynamic memory functions. By using memory mappings for each
allocation, MapAlloc is able to provide guard pages to detect heap overflow
and underflow, as well as potentially identifying use-after-free or double-free
errors (in all cases, your program will crash, which is preferable to being
@@ -34,14 +34,14 @@ void *MA_realloc(void *ptr, size_t n);
void MA_free(void *ptr);
```
-Or, you can ask for macros to provide the same interfaces as <stdlib.h>
-(note that if you need to also include <stdlib.h>, you should include it
-before "mapalloc.h"):
+Or, you can ask for macros to provide the same interfaces as `<stdlib.h>`
+(note that if you need to also include `<stdlib.h>`, you should include it
+before `"mapalloc.h"`):
```c
#define MA_OVERRIDE_STDLIB
#include "mapalloc.h"
-```c
+```
This will give you access to the same set of functions as above, but also
provide macros: