From ce21c1e9361e04391dc41463af24d5eb0c493bd1 Mon Sep 17 00:00:00 2001 From: Kenpachi Developer Date: Sat, 8 Feb 2020 00:31:56 +0100 Subject: Add is_file() function --- src/common/utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/utils.h') diff --git a/src/common/utils.h b/src/common/utils.h index a0590db7f..b160d3651 100644 --- a/src/common/utils.h +++ b/src/common/utils.h @@ -40,6 +40,7 @@ void WriteDump(FILE* fp, const void* buffer, size_t length); void ShowDump(const void* buffer, size_t length); void findfile(const char *p, const char *pat, void (func)(const char *, void *), void *context); +bool is_file(const char *path); bool exists(const char* filename); /// calculates the value of A / B, in percent (rounded down) -- cgit v1.2.3-70-g09d2