xref: /original-bsd/usr.bin/f77/libU77/getpid_.c (revision ff2bc52d)
1 /*-
2  * Copyright (c) 1980 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.proprietary.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)getpid_.c	5.2 (Berkeley) 04/12/91";
10 #endif /* not lint */
11 
12 /*
13  * get process id
14  *
15  * calling sequence:
16  *	integer getpid, pid
17  *	pid = getpid()
18  * where:
19  *	pid will be the current process id
20  */
21 
22 long getpid_()
23 {
24 	return((long)getpid());
25 }
26