tutil.h - spoon - [fork] customized build of spoon, the dwm status utility
 (HTM) git clone git://src.adamsgaard.dk/spoon
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
       tutil.h (384B)
       ---
            1 #undef strlcat
            2 size_t strlcat(char *, const char *, size_t);
            3 #undef strlcpy
            4 size_t strlcpy(char *, const char *, size_t);
            5 
            6 #define LEN(x) (sizeof (x) / sizeof *(x))
            7 
            8 #ifdef DEBUG
            9 #define DPRINTF_S(x) printf(#x "=%s\n", x)
           10 #define DPRINTF_U(x) printf(#x "=%u\n", x)
           11 #define DPRINTF_D(x) printf(#x "=%d\n", x)
           12 #else
           13 #define DPRINTF_S(x)
           14 #define DPRINTF_U(x)
           15 #define DPRINTF_D(x)
           16 #endif