Kea  1.9.9-git
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 
16 namespace isc {
17 namespace util {
18 namespace unittests {
19 
20 void
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-dhcp-ddns.