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);
|
||||
void apathmax(char **, long *);
|
||||
void enmasse(int, char **, int (*)(const char *, const char *));
|
||||
|
||||
void *ecalloc(size_t, size_t);
|
||||
void *emalloc(size_t size);
|
||||
void *erealloc(void *, size_t);
|
||||
void eprintf(const char *, ...);
|
||||
void enprintf(int, const char *, ...);
|
||||
char *estrdup(const char *);
|
||||
|
||||
void enprintf(int, const char *, ...);
|
||||
void eprintf(const char *, ...);
|
||||
void weprintf(const char *, ...);
|
||||
|
||||
double estrtod(const char *);
|
||||
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
|
||||
size_t strlcat(char *, const char *, size_t);
|
||||
#undef strlcpy
|
||||
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);
|
||||
char *humansize(double);
|
||||
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