Nix
2.26.3
Nix, the purely functional 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
6
#ifndef _WIN32
7
# include <sys/resource.h>
8
#endif
9
10
#include "
types.hh
"
11
12
namespace
nix {
13
18
unsigned
int
getMaxCPU();
19
23
void
setStackSize(
size_t
stackSize);
24
31
void
restoreProcessContext(
bool
restoreMounts =
true
);
32
36
std::optional<Path> getSelfExe();
37
38
}
types.hh
src
libutil
current-process.hh
Generated by
1.13.2