This function is used to spawn a new child process on the system.
This function returns the process id of the new process.
/* Main program */ options arexx_bifs say fork()
When we run the above program we will get the following result. The process number returned will differ from system to system.
An example of the result is shown below.