aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/file.h
blob: 03d5e9a5ab1346b3d4ed62f66648ad7eb5098251 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __FILE_H__
#define __FILE_H__

#include <stddef.h>

int rm_rf(const char *dir);

int my_chdir(const char *dir, char **old);

int file_exists(const char *path);

int file_read(int fd, char **output, size_t *len);

#endif