dwm

Simple dynamic window manager for X
git clone https://git.sinitax.com/suckless/dwm
Log | Files | Refs | README | LICENSE | sfeed.txt

util.h (305B)


      1/* See LICENSE file for copyright and license details. */
      2
      3#define MAX(A, B)               ((A) > (B) ? (A) : (B))
      4#define MIN(A, B)               ((A) < (B) ? (A) : (B))
      5#define BETWEEN(X, A, B)        ((A) <= (X) && (X) <= (B))
      6
      7void die(const char *fmt, ...);
      8void *ecalloc(size_t nmemb, size_t size);