Simplify split_args().
[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