nanadvi/Ashell
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Navid Al Nadvi, SID: 912309925, [email protected] Anton Rotter-Sieren, SID: 999219083, [email protected] References: 1. http://pubs.opengroup.org/onlinepubs/9699919799/toc.html 2. http://stackoverflow.com/questions/3828192/checking-if-a-directory-exists-in-unix-system-call 3. http://www.johnloomis.org/ece537/notes/Files/Examples/ls2.html 4. https://www.cs.rutgers.edu/~pxk/416/notes/c-tutorials/pipe.html 5. http://stackoverflow.com/questions/8389033/implementation-of-multiple-pipes-in-c 6. noncanon.c 7. www.piazza.com Reference 1 was consulted to look up the correct calling method of various syscalls. Reference 2 and 3 was used to see the usage of struct stat, struct dirent and DIR *dp and their corresponding funtions. Reference 4 was used to see the usage of the pipe() system call along with fork() and execvp(). Referece 5 was used as a preliminary guideline to implement multi piping and forking functionality. Actuall implementation varies widely from the cited method.