mirror of
https://github.com/reactos/reactos.git
synced 2025-06-24 16:09:47 +00:00

Imported from https://www.nuget.org/packages/Microsoft.Windows.SDK.CRTSource/10.0.22621.3 License: MIT
16 lines
306 B
C++
16 lines
306 B
C++
//
|
|
// getpid.cpp
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// The _getpid() function, which gets the current process identifier.
|
|
//
|
|
#include <corecrt_internal.h>
|
|
|
|
|
|
|
|
// Gets the current process identifier.
|
|
extern "C" int __cdecl _getpid()
|
|
{
|
|
return GetCurrentProcessId();
|
|
}
|