libcosmos
Linux C++ System Programming Library
Loading...
Searching...
No Matches
limits.hxx
1#pragma once
2
3// C++
4#include <cstddef>
5
6// Linux
7#include <linux/limits.h>
8
9namespace cosmos {
10
11namespace max {
12/*
13 * common preprocessor constants used in Linux systems are redefined here as
14 * constexpr constants.
15 */
16
18
25constexpr size_t PATH = PATH_MAX;
26
28
32constexpr size_t NAME = NAME_MAX;
33
34}
35
36}