From 1cdf817c74f6c4e2136dce840ab33af072f91733 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 19 Mar 2012 10:47:22 +0100 Subject: [PATCH] src/common.h: Add comment about return value of read_file_contents(). --- src/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common.h b/src/common.h index 229f7098..c292abfd 100644 --- a/src/common.h +++ b/src/common.h @@ -283,6 +283,7 @@ typedef int (*dirwalk_callback_f)(const char *dirname, const char *filename, void *user_data); int walk_directory (const char *dir, dirwalk_callback_f callback, void *user_data, int hidden); +/* Returns the number of bytes read or negative on error. */ int read_file_contents (const char *filename, char *buf, int bufsize); counter_t counter_diff (counter_t old_value, counter_t new_value); -- 2.30.2