Request process arguments differently, mmap-style dlmalloc port, new linklist utils

This commit is contained in:
2025-09-21 22:51:38 +02:00
parent 397379bca3
commit 5c7fb3e1cf
4 changed files with 96 additions and 53 deletions

View File

@ -11,6 +11,20 @@
*(X); \
}) \
#define MIN(a, b) \
({ \
typeof(a) _a = (a); \
typeof(b) _b = (b); \
(_a < _b ? _a : _b); \
})
#define MAX(a, b) \
({ \
typeof(a) _a = (a); \
typeof(b) _b = (b); \
(_a > _b ? _a : _b); \
})
void quit(void);
#endif // ULIB_UTIL_UTIL_H_