memex
Loading...
Searching...
No Matches
utility.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <cstdint>
3
#include <string_view>
4
#include <expected>
5
6
#include <
memex/error.hpp
>
7
#include <
memex/typed.hpp
>
8
13
namespace
utility
14
{
22
std::expected<std::uint32_t, memex::Error>
FindPidByName
(
typed::tstring_view
processName);
23
}
error.hpp
typed::tstring_view
std::string_view tstring_view
Definition
typed.hpp:16
utility
This file contains utility functions for the memex library.
Definition
utility.hpp:14
utility::FindPidByName
std::expected< std::uint32_t, memex::Error > FindPidByName(typed::tstring_view processName)
Find a process ID using its name.
typed.hpp
include
memex
utility.hpp
Generated by
1.12.0