blob: 3bc0f67098ef048435e0209501363d5a80d51427 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// SPDX-License-Identifier: Apache-2.0
// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/nekernel
#include <LaunchHelpers.fwrk/headers/Foundation.h>
#include <libSystem/SystemKit/Syscall.h>
/// @brief Get launch information.
/// @return the launch information structure.
CF::CFRef<LaunchHelpers::LHLaunchInfo> LaunchHelpers::LHGetLaunchInfo(Void) {
return static_cast<LaunchHelpers::LHLaunchInfo*>(
libsys_syscall_arg_1(libsys_hash_64("__LHGetLaunchInfoRef")));
}
|