blob: d9829a512bc84b0fdea50698706cbbe101b71ee9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef MISC_H
#define MISC_H
extern char *read_file(const char *filename, long *size);
extern char *get_line(char **str);
extern char *make_str(const char *str);
extern char *dir_path_num(const char *root, int num);
extern char *dir_path_name(const char *root, char *name);
extern int delm_span(char *str, const char delm);
extern int sanitize_strlen(char *str);
extern char *sanitize_str(char *str);
extern int format_len(const char *fmt, ...);
#endif
|