tiny-shell 0.2
A mini shell project aiming to gain knowledge about Win32 and Linux API
Loading...
Searching...
No Matches
delete_file.h File Reference
#include "../core/args.h"
#include "res.h"
Include dependency graph for delete_file.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

enum run_result run_del (const os_char *filename)
 Delete a specific file.
 

Function Documentation

◆ run_del()

enum run_result run_del ( const os_char * filename)

Delete a specific file.

Definition at line 4 of file delete_file.c.

4 {
5 bool result = delete_file(filename);
6 return result ? RUN_OK : RUN_FAILED;
7}
bool delete_file(const os_char *filename)
Delete a specific file.
@ RUN_OK
Definition res.h:7
@ RUN_FAILED
Definition res.h:9

References delete_file(), RUN_FAILED, and RUN_OK.

Referenced by invoke_runner().

Here is the call graph for this function:
Here is the caller graph for this function: