Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.

ff_deltree()

[FreeRTOS-Plus-FAT Standard API Reference]

ff_stdio.h
int ff_deltree( const char *pcDirectory )
		

Remove a directory from the embedded FAT file system, and recursively all of the directory's contents.

Parameters:

pcDirectory   A pointer to a standard null terminated C string that holds the name of the directory being removed. The file name can include a relative path to the directory.

Returns:

If the directory and the directory's contents were removed then zero is returned. Otherwise -1 is returned.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.