ProcessStatisticsMach.h 416 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2024, Andrew Kaster <akaster@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/Platform.h>
  8. #if !defined(AK_OS_MACH)
  9. # error "This file is only available on Mach platforms"
  10. #endif
  11. #include <LibCore/Platform/ProcessStatistics.h>
  12. #include <mach/mach.h>
  13. namespace Core::Platform {
  14. MachPort register_with_mach_server(ByteString const& server_name);
  15. }