first commit

This commit is contained in:
bacalhau 2025-07-02 15:45:16 +01:00
commit d8a9fcbc98
93 changed files with 23726 additions and 0 deletions

10
dwm/util.h.orig Executable file
View file

@ -0,0 +1,10 @@
/* See LICENSE file for copyright and license details. */
#define MAX(A, B) ((A) > (B) ? (A) : (B))
#define MIN(A, B) ((A) < (B) ? (A) : (B))
#define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B))
#define LENGTH(X) (sizeof (X) / sizeof (X)[0])
void die(const char *fmt, ...);
void *ecalloc(size_t nmemb, size_t size);
size_t split(char *s, const char* sep, char **pbegin, size_t maxcount);