C-Shell
A simple shell written in C.
|
#include <dirent.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include "../internal_commands.h"
Functions | |
bool | find_key_recursively (char *path, char *key) |
int | search (int nargs, char **args) |
Search for a given file or folder under the current directory recursively. | |
bool find_key_recursively | ( | char * | path, |
char * | key ) |
int search | ( | int | nargs, |
char ** | args ) |
Search for a given file or folder under the current directory recursively.
Prints True or False to stdout depending on whether the file or folder exists.