How can I understand UNIX system & library calls?
UNIX provides online documentation for library and system calls through the man facility. We will give an example with the UNIX system command to start a new process. In UNIX, this is known as a fork (as the path of the two processes may fork from this point and may not perform the same tasks). Whenever you want to know more about a standard library call in UNIX, use the >man command. Now would be a good time to type “man fork” from the shell prompt. Note that if you are an emacs user, you can type M-x man