From 67431e049052a3af4e3bfcdf9f975162be5912fd Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Thu, 17 Oct 2002 16:11:38 +0000 Subject: [PATCH] Fixed comment. --- lib/silcutil/silcfileutil.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/silcutil/silcfileutil.h b/lib/silcutil/silcfileutil.h index f388e25a..79e00dfc 100644 --- a/lib/silcutil/silcfileutil.h +++ b/lib/silcutil/silcfileutil.h @@ -108,7 +108,10 @@ int silc_file_close(int fd); * DESCRIPTION * * Reads the content of `filename' to a buffer. The allocated buffer is - * returned. + * returned. This does not NULL terminate the buffer but EOF terminate + * it. The caller must replace the EOF with NULL if the buffer must be + * NULL terminated. + * * If the `return_len' pointer is not NULL, it's filled with the length of * the file. * -- 2.24.0