Introduction
Introduction Statistics Contact Development Disclaimer Help
util.h - spoon - set dwm status
git clone git://git.codemadness.org/spoon
Log
Files
Refs
LICENSE
---
util.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
You are viewing proxied material from codemadness.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.