projects
/
runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Accept silc_file_stat and silc_file_fstat with the stat struct as NULL
[runtime.git]
/
lib
/
silcutil
/
silcfileutil.h
diff --git
a/lib/silcutil/silcfileutil.h
b/lib/silcutil/silcfileutil.h
index 0824553804a32a497b216e565b6f3d2aa4fe7f8c..3bdf3ff9b2b645d109d5f35348ec51ab235e7f68 100644
(file)
--- a/
lib/silcutil/silcfileutil.h
+++ b/
lib/silcutil/silcfileutil.h
@@
-217,8
+217,7
@@
char *silc_file_readfile(const char *filename, SilcUInt32 *return_len,
*
* DESCRIPTION
*
*
* DESCRIPTION
*
- * Writes a buffer to the file. If the file is created specific mode is
- * set to the file.
+ * Writes a buffer to the file. Returns 0 on success and -1 on error.
*
***/
int silc_file_writefile(const char *filename, const char *buffer,
*
***/
int silc_file_writefile(const char *filename, const char *buffer,
@@
-234,7
+233,7
@@
int silc_file_writefile(const char *filename, const char *buffer,
* DESCRIPTION
*
* Writes a buffer to the file. If the file is created the specified `mode'
* DESCRIPTION
*
* Writes a buffer to the file. If the file is created the specified `mode'
- * is set to the file.
+ * is set to the file.
Returns 0 on success and -1 on error.
*
***/
int silc_file_writefile_mode(const char *filename, const char *buffer,
*
***/
int silc_file_writefile_mode(const char *filename, const char *buffer,