YARP
Yet Another Robot Platform
PlatformSysPrctl.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 
6 #ifndef YARP_RUN_IMPL_PLATFORMSYSPRCTL_H
7 #define YARP_RUN_IMPL_PLATFORMSYSPRCTL_H
8 
9 #include <yarp/conf/system.h>
10 #if defined(YARP_HAS_SYS_PRCTL_H)
11 # include <sys/prctl.h>
12 #endif
13 
14 namespace yarp {
15 namespace os {
16 namespace impl {
17 
18 #if defined(YARP_HAS_SYS_PRCTL_H)
19  using ::prctl;
20 #endif
21 
22 } // namespace impl
23 } // namespace os
24 } // namespace yarp
25 
26 #endif // YARP_RUN_IMPL_PLATFORMSYSPRCTL_H
The main, catch-all namespace for YARP.
Definition: dirs.h:16