fork() is a unique function that when called once returns twice. It is used to make a copy of the current process immediately before calling one of the exec family of functions to replace the current process image with a new one. This pair of calls is typically called "fork-exec".
Unix man page: http://compute.cnr.berkeley.edu/cgi-bin/man-cgi?fork+2