![]() |
nRF Connect SDK API 3.3.99
|
| int sd_card_close | ( | struct fs_file_t * | f_seg_read_entry | ) |
#include <applications/nrf_audio/src/modules/sd_card.h>
Close the file opened by the sd_card_segment_read_open function.
| [in,out] | f_seg_read_entry | Pointer to a file object. After call to this function, the pointer is reset and can be used for another file. |
| 0 | on success. |
| -EPERM | SD card operation is not ongoing. |
| -EBUSY | Segment read operation has not started. |
| Otherwise,error | from underlying drivers. |