ReactOS
0.4.16-dev-1946-g52006dd
getpid.cpp
Go to the documentation of this file.
1
//
2
// getpid.cpp
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// The _getpid() function, which gets the current process identifier.
7
//
8
#include <
corecrt_internal.h
>
9
10
11
12
// Gets the current process identifier.
13
extern
"C"
int
__cdecl
_getpid
()
14
{
15
return
GetCurrentProcessId
();
16
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
corecrt_internal.h
_getpid
int __cdecl _getpid()
Definition:
getpid.cpp:13
GetCurrentProcessId
DWORD WINAPI GetCurrentProcessId(void)
Definition:
proc.c:1158
sdk
lib
ucrt
misc
getpid.cpp
Generated on Thu Dec 4 2025 06:16:21 for ReactOS by
1.9.6