aboutsummarylogtreecommitdiffstats
path: root/string-tick.h
diff options
context:
space:
mode:
authorAntony Kellermann2018-06-28 08:48:20 -0400
committerAntony Kellermann2018-06-28 08:48:20 -0400
commit9d0342abbc6d154f56fa7e11e62ac61b7ef5f66a (patch)
treeca3285d43c594aa70573ae3feb3b1f3899504baf /string-tick.h
parent489c1bf7fa2eafde0002bfb757bc21634c78aa2c (diff)
downloadaur-9d0342abbc6d154f56fa7e11e62ac61b7ef5f66a.tar.gz
Documentation
Diffstat (limited to 'string-tick.h')
-rw-r--r--string-tick.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/string-tick.h b/string-tick.h
index f18347e53eec..23cc190a41bf 100644
--- a/string-tick.h
+++ b/string-tick.h
@@ -68,14 +68,15 @@ char* strip_char(char* string, char c);
char* strip_tags(char* string);
/**
- * Returns the contents of a file in a String
+ * Returns the contents of a file in a String. Will return NULL if the file doesn't exist, if the
+ * file cannot be opened, or if there is an issue reading the file.
* @param file_name path to file
- * @return String*
+ * @return String* or NULL
*/
String* file_get_string(char* file_name);
/**
- * Writes a String to a file
+ * Writes a String to a file. Will return on error opening file.
* @param pString the String to overwrite with
*/
void string_write_file(String* pString, char* file_name);