mirror of
https://github.com/apache/nuttx.git
synced 2026-09-02 23:23:02 +00:00
fs: Correct the comment of file_allocate
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
604eea453b
commit
488a56280a
2 changed files with 6 additions and 6 deletions
|
|
@ -159,11 +159,11 @@ void files_releaselist(FAR struct filelist *list)
|
|||
*
|
||||
* Description:
|
||||
* Allocate a struct files instance and associate it with an inode
|
||||
* instance. Returns the file descriptor == index into the files array.
|
||||
* instance.
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero (OK) is returned on success; a negated errno value is returned on
|
||||
* any failure.
|
||||
* Returns the file descriptor == index into the files array on success;
|
||||
* a negated errno value is returned on any failure.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -774,11 +774,11 @@ int files_duplist(FAR struct filelist *plist, FAR struct filelist *clist);
|
|||
*
|
||||
* Description:
|
||||
* Allocate a struct files instance and associate it with an inode
|
||||
* instance. Returns the file descriptor == index into the files array.
|
||||
* instance.
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero (OK) is returned on success; a negated errno value is returned on
|
||||
* any failure.
|
||||
* Returns the file descriptor == index into the files array on success;
|
||||
* a negated errno value is returned on any failure.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue