Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent of UNIX's fork()
Message
From
26/04/2001 04:07:05
 
 
To
24/04/2001 15:13:59
General information
Forum:
Visual C++
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00499196
Message ID:
00500009
Views:
24
There's a _getpid() function in the C runtime. Try searching for process and environmental controls on MSDN.
#include <stdio.h>
#include <process.h>

void main( void )
{
   printf("\nProcess id: %d\n", _getpid());
}
I don't know about fork()? Sorry.
Previous
Reply
Map
View

Click here to load this message in the networking platform