PlanckLinux/src/sdhcp/util.h

11 lines
272 B
C

#define MIN(a,b) (((a)<(b))?(a):(b))
#define LEN(a) (sizeof(a) / sizeof((a)[0]))
#define bpdump(p,n) 1
#undef strlcpy
size_t strlcpy(char *, const char *, size_t);
void weprintf(const char *, ...);
void eprintf(const char *, ...);
void enprintf(int, const char *, ...);