<<<<<<< HEAD This project involves creating a shell just likw the bash shell but with less functionalities
0x16. C - SIMPLE SHELL
General
i. Allowed editors: vi, vim, emacs
ii. All your files will be compiled on Ubuntu 20.04 LTS using gcc, using the options -Wall -Werror -Wextra -pedantic -std=gnu89
iii. All your files should end with a new line
iv. A README.md file, at the root of the folder of the project is mandatory
v. Your code should use Betty style. it will be checked using betty-style.ple and betty-doc-pl
vi. No more than 5 functions per file
vii. All your header files should be include guarded
viii. Use system calls only when you need to (why?)
ix. Your shell should not have any memory leaks
x. Write a README with the description of your project
xi. You should have an AUTHORS file at the root of your repository, listing individuals having contributed content to the repository. Format, see Docker
i. access (man 2 access)
ii. chdir (man 2 chdir)
iii. close (man 2 close)
iv. closedir (man 3 closedir)
v. execve (man 2 execve)
vi. exit (man 3 exit)
vii. _exit (man 2 _exit)
viii. fflush (man 3 fflush)
ix. fork (man 2 fork)
x. free (man 3 free)
xi. getcwd (man 3 getcwd)
xii. getline (man 3 getline)
xiii. getpid (man 2 getpid)
xiv. isatty (man 3 isatty)
xv. kill (man 2 kill)
xvi. malloc (man 3 malloc)
xvii. open (man 2 open)
xviii. opendir (man 3 opendir)
xix. perror (man 3 perror)
xxi. read (man 2 read)
xxii. readdir (man 3 readdir)
xxiii. signal (man 2 signal)
xxiv. stat (__xstat) (man 2 stat)
xxvi. lstat (__lxstat) (man 2 lstat)
xxvii. fstat (__fxstat) (man 2 fstat)
xxviii. strtok (man 3 strtok)
xxix. wait (man 2 wait)
xxx. waitpid (man 2 waitpid)
xxxi. wait3 (man 2 wait3)
xxxii. wait4 (man 2 wait4)
xxxiii. write (man 2 write)
Your shell will be compiled this way:
gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh
92c7460f902bcd28d607a13e7c9620da8f521b6e