1 // Copyright 2013 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "partition_alloc/partition_alloc_base/process/process_handle.h" 6 7 #include <unistd.h> 8 9 namespace partition_alloc::internal::base { 10 GetCurrentProcId()11ProcessId GetCurrentProcId() { 12 return getpid(); 13 } 14 15 } // namespace partition_alloc::internal::base 16