X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/70702af1370e44e32fb2c3c507e4759a187b4fe5..289f6a146c0b2087607d8d8659531ea90142779a:/fatfs/doc/en/close.html diff --git a/fatfs/doc/en/close.html b/fatfs/doc/en/close.html deleted file mode 100644 index c16dfa6..0000000 --- a/fatfs/doc/en/close.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - -FatFs - f_close - - - - -
-

f_close

-

The f_close function closes an open file.

-
-FRESULT f_close (
-  FIL* fp     /* [IN] Pointer to the file object */
-);
-
-
- -
-

Parameter

-
-
fp
-
Pointer to the open file object structure to be closed.
-
-
- - -
-

Return Values

-

-FR_OK, -FR_DISK_ERR, -FR_INT_ERR, -FR_INVALID_OBJECT, -FR_TIMEOUT -

-
- - -
-

Description

-

The f_close function closes an open file object. If any data has been written to the file, the cached information of the file is written back to the volume. After the function succeeded, the file object is no longer valid and it can be discarded.

-

Note that if the file object is in read-only mode and _FS_LOCK is not enabled, the file object can also be discarded without this process. However this is not recommended for future compatibility.

-
- - -
-

QuickInfo

-

Always available.

-
- - -
-

See Also

-

f_open, f_read, f_write, f_sync, FIL, FATFS

-
- -

Return

- -