]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MINICERN/packlib/kernlib/kerngen/ccgen/getpidf.c
Bugfix in AliPoints2Memory
[u/mrichter/AliRoot.git] / MINICERN / packlib / kernlib / kerngen / ccgen / getpidf.c
1 /*
2  * $Id$
3  *
4  * $Log$
5  * Revision 1.2  1997/02/04 17:34:19  mclareni
6  * Merge Winnt and 97a versions
7  *
8  * Revision 1.1.1.1.2.1  1997/01/21 11:29:28  mclareni
9  * All mods for Winnt 96a on winnt branch
10  *
11  * Revision 1.1.1.1  1996/02/15 17:49:22  mclareni
12  * Kernlib
13  *
14  */
15 #include "kerngen/pilot.h"
16 #include "kerngen/fortranc.h"
17
18 #if defined(CERNLIB_QMOS9)
19 #include "os9gs/getpidf.c"
20 #else
21 /*>    ROUTINE GETPIDF (IPID)
22   CERN PROGLIB# Z265    GETPIDF         .VERSION KERNFOR  4.38  931108
23   ORIG. 22/02/91, JZ
24   Fortran interface routine to getpid
25 */
26 #ifdef WIN32
27 #include <process.h>
28 #endif
29 #if defined(CERNLIB_QX_SC)
30 void type_of_call getpidf_(pid)
31 #endif
32 #if defined(CERNLIB_QXNO_SC)
33 void type_of_call getpidf(pid)
34 #endif
35 #if defined(CERNLIB_QXCAPT)
36 void type_of_call GETPIDF(pid)
37 #endif
38       int  *pid;
39 {
40       int getpid();
41       *pid = getpid();
42       return;
43 }
44 /*> END <----------------------------------------------------------*/
45 #endif