ev3duder  0.3.0
EV3 Downloader/Uploader
rm.c File Reference

removes files and directories see rm(1) More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "ev3_io.h"
#include "defs.h"
#include "packets.h"
#include "error.h"
#include "funcs.h"

Go to the source code of this file.

Functions

int rm (const char *path)
 removes files and directories at path. path is always relative to /home/root/lms2012/prjs/sys/ More...
 

Detailed Description

removes files and directories see rm(1)

Author
Ahmad Fatoum

Definition in file rm.c.

Function Documentation

int rm ( const char *  path)

removes files and directories at path. path is always relative to /home/root/lms2012/prjs/sys/

remove remote file or directory rem

Parameters
[in]pathpath/file to remove
Return values
erroraccording to enum ERR
Warning
removing system files will lock up the device/VM. don't do it

Definition at line 27 of file rm.c.