nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ bm_zms_active_sector_free_space()

ssize_t bm_zms_active_sector_free_space ( struct bm_zms_fs * fs)

#include <bm_zms.h>

Tells how much contiguous free space remains in the currently active BM_ZMS sector.

Parameters
fsPointer to the file system.
Return values
Numberof free bytes (>= 0) in the current active sector.
-EFAULTif fs is NULL.
-EACCESif BM_ZMS is still not initialized.