libsl

shared code master of various suckless projects
git clone git://git.suckless.org/libsl
Log | Files | Refs | LICENSE

util.h (266B)


      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 
      7 void die(const char *errstr, ...);