simplify shit
This commit is contained in:
@@ -29,11 +29,9 @@ char *pretty_num(double num, char *buf, size_t bufsz);
|
||||
|
||||
char *pretty_bytes(uint64_t bytes, int8_t start_suffix, char *buf, size_t bufsz);
|
||||
|
||||
bool file_exists(const char *path);
|
||||
|
||||
int get_hwmon_dir(char *path, size_t bufsz);
|
||||
|
||||
size_t read_file(const char *path, char *buffer, size_t n);
|
||||
size_t read_file(const char *dir, const char *file, char *buffer, size_t n);
|
||||
|
||||
void fast_read_num_u64(const char *dir, const char *file, char *buf, uint64_t *result, uint32_t divider);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user