Versione funzionante di un CGI che produce PNG di codici a barre.
[gapil.git] / sources / ForkTest.c
index 5401e319be20b79d721225d8bd340cafbe060f62..03ddf75eadfe4c37ab7536cbe7d4e0401a0fcc1b 100644 (file)
@@ -26,7 +26,7 @@
  *
  * Usage: forktest -h give all info's
  *
- * $Id: ForkTest.c,v 1.5 2001/09/19 17:10:49 piccardi Exp $
+ * $Id: ForkTest.c,v 1.6 2001/09/21 17:10:51 piccardi Exp $
  *
  ****************************************************************/
 /* 
@@ -94,7 +94,7 @@ int main(int argc, char *argv[])
        usage();
     }
     nchild = atoi(argv[optind]);
-    printf("Test for forking %d child\n", nchild);
+    printf("Process %d: forking %d child\n", getpid(), nchild);
     /* loop to fork children */
     for (i=0; i<nchild; i++) {
        if ( (pid = fork()) < 0) {