What does exactly does fork command do? It is not just like create process. If you write a c program that uses fork, does the child process created by the fork have access to all the arguments of the main() function. ie argc and argv?

I looked at the MSDN but it was kind of unclear here. I want to port some UNIX code to Windows...but it uses fork...

any ideas?

ahoodin