tiny-shell 0.2
A mini shell project aiming to gain knowledge about Win32 and Linux API
Loading...
Searching...
No Matches
delete_file.c
Go to the documentation of this file.
1#include "delete_file.h"
2#include "../os/operations.h"
3
4enum run_result run_del(const os_char *filename) {
5 bool result = delete_file(filename);
6 return result ? RUN_OK : RUN_FAILED;
7}
enum run_result run_del(const os_char *filename)
Delete a specific file.
Definition delete_file.c:4
bool delete_file(const os_char *filename)
Delete a specific file.
run_result
Result of the execution of a command line.
Definition res.h:6
@ RUN_OK
Definition res.h:7
@ RUN_FAILED
Definition res.h:9