Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalent of UNIX's fork()
Message
De
26/04/2001 04:07:05
 
 
À
24/04/2001 15:13:59
Information générale
Forum:
Visual C++
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00499196
Message ID:
00500009
Vues:
16
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform