From 94cfa0b5a064b91a61f8b49148ea857e042b51a1 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Mon, 24 Mar 2025 21:31:51 -0700 Subject: [PATCH] minor: restore some code comment --- programs/fileio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/programs/fileio.c b/programs/fileio.c index 644a86ef4..6514bf32c 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -537,6 +537,10 @@ static int FIO_removeFile(const char* path) return remove(path); } +/** FIO_openSrcFile() : + * condition : `srcFileName` must be non-NULL. + * optional: `prefs` may be NULL. + * @result : FILE* to `srcFileName`, or NULL if it fails */ static FILE* FIO_openSrcFile(const FIO_prefs_t* const prefs, const char* srcFileName, stat_t* statbuf) { int allowBlockDevices = prefs != NULL ? prefs->allowBlockDevices : 0;