]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
minor: restore some code comment
authorYann Collet <cyan@fb.com>
Tue, 25 Mar 2025 04:31:51 +0000 (21:31 -0700)
committerYann Collet <cyan@fb.com>
Fri, 28 Mar 2025 16:18:17 +0000 (09:18 -0700)
programs/fileio.c

index 644a86ef474ae30022bcbecadaa65cf6dc280d9e..6514bf32c43cee97e0b523838df9305ab7b39a17 100644 (file)
@@ -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;