sdhcp

simple dhcp client
git clone git://git.2f30.org/sdhcp.git
Log | Files | Refs | LICENSE

util.h (272B)


      1 #define MIN(a,b) (((a)<(b))?(a):(b))
      2 #define LEN(a) (sizeof(a) / sizeof((a)[0]))
      3 #define bpdump(p,n) 1
      4 
      5 #undef strlcpy
      6 size_t strlcpy(char *, const char *, size_t);
      7 
      8 void weprintf(const char *, ...);
      9 void eprintf(const char *, ...);
     10 void enprintf(int, const char *, ...);