projects
/
dss.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
390134d4cf345e73d7088d7c389cad02869490c4
[dss.git]
/
df.h
1
/* SPDX-License-Identifier: GPL-2.0 */
2
struct disk_space {
3
unsigned total_mb;
4
unsigned free_mb;
5
unsigned percent_free;
6
unsigned percent_free_inodes;
7
};
8
9
int get_disk_space(const char *path, struct disk_space *result);
10
void log_disk_space(struct disk_space *ds);
11