Introduction
Introduction Statistics Contact Development Disclaimer Help
util.h - dwm - dynamic window manager
git clone git://git.suckless.org/dwm
Log
Files
Refs
README
LICENSE
---
util.h (366B)
---
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 #define LENGTH(X) (sizeof (X) / sizeof (X)[0])
7
8 void die(const char *fmt, ...);
9 void *ecalloc(size_t nmemb, size_t size);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.