1
0
mirror of git://git.suckless.org/ubase synced 2024-12-23 23:22:47 +00:00
ubase/util.h

18 lines
483 B
C
Raw Normal View History

/* See LICENSE file for copyright and license details. */
#include "arg.h"
#define UTF8_POINT(c) (((c) & 0xc0) != 0x80)
#define LEN(x) (sizeof (x) / sizeof *(x))
extern char *argv0;
2013-08-14 14:38:43 +00:00
char *agetcwd(void);
void apathmax(char **, long *);
void devtotty(int, int *, int *);
void enprintf(int, const char *, ...);
2013-08-14 14:38:43 +00:00
void eprintf(const char *, ...);
long estrtol(const char *, int);
2013-08-29 10:11:26 +00:00
void putword(const char *);
2013-08-14 14:38:43 +00:00
void recurse(const char *, void (*)(const char *));
char *ttytostr(int, int);