Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
current-process.hh
Go to the documentation of this file.
1#pragma once
3
4#include <optional>
5#include <sys/resource.h>
6
8
9namespace nix {
10
15unsigned int getMaxCPU();
16
17
21void setStackSize(rlim_t stackSize);
22
23
31void restoreProcessContext(bool restoreMounts = true);
32
36std::optional<Path> getSelfExe();
37
38}