Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 647 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 647 Bytes

42sh

Implimenting a Basic Unix Shell Using C.

=================================================== usage: ./42sh

Capabilites:

Piping: SYSTEM CALL: pipe();
PROTOTYPE: int pipe( int fd[2] ); RETURNS: 0 on success -1 on error: errno = EMFILE (no free descriptors)
EMFILE (system file table is full)
EFAULT (fd array is not valid) NOTES: fd[0] is set up for reading, fd[1] is set up for writing

example: "ls-l | cat -e"