Kea 2.7.5
resource.cc
Go to the documentation of this file.
1// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#include <config.h>
8
10
11#include <gtest/gtest.h>
12
13#include <sys/time.h>
14#include <sys/resource.h>
15
16namespace isc {
17namespace util {
18namespace unittests {
19
20void
22 const rlimit core_limit = {0, 0};
23
24 EXPECT_EQ(setrlimit(RLIMIT_CORE, &core_limit), 0);
25}
26
27} // end of namespace unittests
28} // end of namespace util
29} // end of namespace isc
void dontCreateCoreDumps()
Don't create core dumps.
Definition resource.cc:21
Defines the logger used by the top-level component of kea-lfc.