#include "cache.h"
#include "path.h"
#include <linux/kernel.h>
#include <limits.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <unistd.h>
Go to the source code of this file.
◆ cleanup_path()
static char* cleanup_path |
( |
char * |
path | ) |
|
|
static |
◆ get_pathname()
static char* get_pathname |
( |
void |
| ) |
|
|
static |
◆ is_directory()
bool is_directory |
( |
const char * |
base_path, |
|
|
const struct dirent * |
dent |
|
) |
| |
◆ is_regular_file()
bool is_regular_file |
( |
const char * |
file | ) |
|
◆ mkpath()
char* mkpath |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ path__join()
int path__join |
( |
char * |
bf, |
|
|
size_t |
size, |
|
|
const char * |
path1, |
|
|
const char * |
path2 |
|
) |
| |
◆ path__join3()
int path__join3 |
( |
char * |
bf, |
|
|
size_t |
size, |
|
|
const char * |
path1, |
|
|
const char * |
path2, |
|
|
const char * |
path3 |
|
) |
| |
◆ bad_path
char bad_path[] = "/bad-path/" |
|
static |