mirror of
git://git.suckless.org/sbase
synced 2024-12-26 08:52:36 +00:00
b8edf3b4ee
There is still some programs left to be updated for this. Many of these programs would stop on the first file that they could not open.
24 lines
685 B
C
24 lines
685 B
C
/* See LICENSE file for copyright and license details. */
|
|
|
|
#include "arg.h"
|
|
|
|
#define UTF8_POINT(c) (((c) & 0xc0) != 0x80)
|
|
|
|
#define MIN(x,y) ((x) < (y) ? (x) : (y))
|
|
#define MAX(x,y) ((x) > (y) ? (x) : (y))
|
|
|
|
#define LEN(x) (sizeof (x) / sizeof *(x))
|
|
|
|
extern char *argv0;
|
|
|
|
char *agetcwd(void);
|
|
void apathmax(char **, long *);
|
|
void enmasse(int, char **, int (*)(const char *, const char *));
|
|
void eprintf(const char *, ...);
|
|
void enprintf(int, const char *, ...);
|
|
long estrtol(const char *, int);
|
|
void fnck(const char *, const char *, int (*)(const char *, const char *));
|
|
void putword(const char *);
|
|
void recurse(const char *, void (*)(const char *));
|
|
void weprintf(const char *, ...);
|