URI: 
       util.h - slstatus - status monitor
  HTML git clone git://git.suckless.org/slstatus
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       util.h (519B)
       ---
            1 /* See LICENSE file for copyright and license details. */
            2 #include <stdint.h>
            3 #include <stdio.h>
            4 
            5 extern char buf[1024];
            6 
            7 #define LEN(x) (sizeof(x) / sizeof((x)[0]))
            8 
            9 extern char *argv0;
           10 
           11 void warn(const char *, ...);
           12 void die(const char *, ...);
           13 
           14 int esnprintf(char *str, size_t size, const char *fmt, ...);
           15 const char *bprintf(const char *fmt, ...);
           16 const char *fmt_human(uintmax_t num, int base);
           17 int pscanf(const char *path, const char *fmt, ...);
           18 int lscanf(FILE *fp, const char *key, const char *fmt, void *res);