Download RX64M Group Application Note TCP/IP Protocol Stack Based

Transcript
RX64M Group
6.7.14
TCP/IP Protocol Stack Based Network Solution for Industrial Applications
RX Driver Package Application
remove_dir
Description
This function deletes the directory specified by the argument. This directory path is specified as a full path name.
Usage
#include <stdint.h>
#include “r_file_driver.h”
int32_t remove_dir(uint8_t *dir_path);
Parameters
dir_path
Input
Directory to be deleted
Return Value
-1
0
Error
Normal completion
Remark
There are cases where dir_path ends with a "/", and cases where it does not. The presence or absence of the final "/"
must be determined according to the file system used.
R01AN2153EJ0100 Rev.1.00
Sep 1, 2014
Page 48 of 66