diff options
author | Antony Kellermann | 2018-06-28 08:48:20 -0400 |
---|---|---|
committer | Antony Kellermann | 2018-06-28 08:48:20 -0400 |
commit | 9d0342abbc6d154f56fa7e11e62ac61b7ef5f66a (patch) | |
tree | ca3285d43c594aa70573ae3feb3b1f3899504baf /string-tick.h | |
parent | 489c1bf7fa2eafde0002bfb757bc21634c78aa2c (diff) | |
download | aur-9d0342abbc6d154f56fa7e11e62ac61b7ef5f66a.tar.gz |
Documentation
Diffstat (limited to 'string-tick.h')
-rw-r--r-- | string-tick.h | 7 |
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); |