Skip to content

Commit 0db21c8

Browse files
committed
lib: Add API to support filesystem format
Signed-off-by: Ajay Bhargav <[email protected]>
1 parent 2d89b44 commit 0db21c8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/lib.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,13 @@ void system_gettz(char *tz, int size);
8686
*/
8787
int debug(int level, const char *fmt, ...);
8888

89+
/**
90+
* Format Filesystem
91+
* @param path [in] Mount point of filesystem
92+
* @return 0 on success, -ve for error
93+
*/
94+
int formatfs(const char * path);
95+
8996
#ifdef __cplusplus
9097
}
9198
#endif

0 commit comments

Comments
 (0)