diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-06-06 11:36:51 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-06-06 11:36:51 +0800 |
commit | fc9ae26aacede490d32f0b31d314f2c8286d158a (patch) | |
tree | e47a27c91f38c4ae2b54dfca691b96cc7b62168f /util.h | |
parent | 6e945b3f487d92d3cdf8706164da7040b9cb375a (diff) |
Exit if malloc() fails
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -0,0 +1,6 @@ +#ifndef UTIL_H +#define UTIL_H + +void mallocfail(); +#endif + |