diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2025-11-02 18:29:20 -0500 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2025-11-02 18:29:20 -0500 |
| commit | 11521b99661f969ba7adad9d2366108a1a001ab0 (patch) | |
| tree | 5a8d1225cfd9a4b58a5277d6d7f1f5112a7cf020 /include/alloc.h | |
| parent | f88198cb987ab006f3406698fec410ff1de05534 (diff) | |
| download | liballoc-11521b99661f969ba7adad9d2366108a1a001ab0.tar.gz | |
Defined allocator behavior for 0 byte requests
Diffstat (limited to 'include/alloc.h')
| -rw-r--r-- | include/alloc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/alloc.h b/include/alloc.h index 6374b3a..594ef67 100644 --- a/include/alloc.h +++ b/include/alloc.h @@ -21,7 +21,8 @@ /* * Returns a pointer to a new region of memory of the specified - * size, or NULL if no memory is available. + * size, or NULL if no memory is available. Requests for 0 bytes of + * memory will also return NULL. */ void *allocate(size_t); |