YARP
Yet Another Robot Platform
PlatformSysPrctl.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
9 #ifndef YARP_RUN_IMPL_PLATFORMSYSPRCTL_H
10 #define YARP_RUN_IMPL_PLATFORMSYSPRCTL_H
11 
12 #include <yarp/conf/system.h>
13 #if defined(YARP_HAS_SYS_PRCTL_H)
14 # include <sys/prctl.h>
15 #endif
16 
17 namespace yarp {
18 namespace os {
19 namespace impl {
20 
21 #if defined(YARP_HAS_SYS_PRCTL_H)
22  using ::prctl;
23 #endif
24 
25 } // namespace impl
26 } // namespace os
27 } // namespace yarp
28 
29 #endif // YARP_RUN_IMPL_PLATFORMSYSPRCTL_H
system.h
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18