summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c27
1 files changed, 26 insertions, 1 deletions
diff --git a/main.c b/main.c
index 88be4cc..1eba34b 100644
--- a/main.c
+++ b/main.c
@@ -146,7 +146,32 @@ void ls(const char *path) {
closedir(dP);
}
-void clear() {
+void make_dir(const char *path) {
+ printf("made a new directory");
+}
+
+void remove_dir(const char *path) {
+ printf("removed a directory");
+}
+
+void remove_file(const char *path) {
+ printf("remove_file");
+}
+
+void copy_files(const char *arg) {
+ printf("copy file");
+}
+
+void move_files(const char *arg) {
+ printf("move file");
+}
+
+void clear(const char *arg) {
+ if (arg != NULL) {
+ printf("clear doesn't support any arguments, see help() for help");
+ return;
+ }
+
// clear the visible part of the terminal -> see man pages clear command
printf("\033[2J");
// clear the input buffer of the terminal -> see man pages clear command