Group related decls together in util.h
This commit is contained in:
parent
2982d88533
commit
045fc62028
20
util.h
20
util.h
|
@ -16,25 +16,29 @@ extern char *argv0;
|
||||||
|
|
||||||
char *agetcwd(void);
|
char *agetcwd(void);
|
||||||
void apathmax(char **, long *);
|
void apathmax(char **, long *);
|
||||||
void enmasse(int, char **, int (*)(const char *, const char *));
|
|
||||||
void *ecalloc(size_t, size_t);
|
void *ecalloc(size_t, size_t);
|
||||||
void *emalloc(size_t size);
|
void *emalloc(size_t size);
|
||||||
void *erealloc(void *, size_t);
|
void *erealloc(void *, size_t);
|
||||||
void eprintf(const char *, ...);
|
|
||||||
void enprintf(int, const char *, ...);
|
|
||||||
char *estrdup(const char *);
|
char *estrdup(const char *);
|
||||||
|
|
||||||
|
void enprintf(int, const char *, ...);
|
||||||
|
void eprintf(const char *, ...);
|
||||||
|
void weprintf(const char *, ...);
|
||||||
|
|
||||||
double estrtod(const char *);
|
double estrtod(const char *);
|
||||||
long estrtol(const char *, int);
|
long estrtol(const char *, int);
|
||||||
void fnck(const char *, const char *, int (*)(const char *, const char *));
|
|
||||||
char *humansize(double);
|
|
||||||
void putword(const char *);
|
|
||||||
void recurse(const char *, void (*)(const char *));
|
|
||||||
|
|
||||||
#undef strlcat
|
#undef strlcat
|
||||||
size_t strlcat(char *, const char *, size_t);
|
size_t strlcat(char *, const char *, size_t);
|
||||||
#undef strlcpy
|
#undef strlcpy
|
||||||
size_t strlcpy(char *, const char *, size_t);
|
size_t strlcpy(char *, const char *, size_t);
|
||||||
void weprintf(const char *, ...);
|
|
||||||
|
|
||||||
|
/* misc */
|
||||||
|
void enmasse(int, char **, int (*)(const char *, const char *));
|
||||||
|
void fnck(const char *, const char *, int (*)(const char *, const char *));
|
||||||
mode_t getumask(void);
|
mode_t getumask(void);
|
||||||
|
char *humansize(double);
|
||||||
mode_t parsemode(const char *, mode_t, mode_t);
|
mode_t parsemode(const char *, mode_t, mode_t);
|
||||||
|
void putword(const char *);
|
||||||
|
void recurse(const char *, void (*)(const char *));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user