blob: a134ace570a370fce5eb6a474da4fe6068b8b0de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright 2024-2025, 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")));
}
|