fs_file.c: modify files_countlist comments

Signed-off-by: yintao <yintao@xiaomi.com>
This commit is contained in:
yintao 2023-11-17 19:41:11 +08:00 committed by Xiang Xiao
parent c9db6e8173
commit e435fca0e2
1 changed files with 3 additions and 6 deletions

View File

@ -512,16 +512,13 @@ void files_putlist(FAR struct filelist *list)
* Name: files_countlist
*
* Description:
* Given a file descriptor, return the corresponding instance of struct
* file.
* Get file count from file list.
*
* Input Parameters:
* fd - The file descriptor
* filep - The location to return the struct file instance
* list - Pointer to the file list structure.
*
* Returned Value:
* Zero (OK) is returned on success; a negated errno value is returned on
* any failure.
* file count of file list.
*
****************************************************************************/