Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / native_client / src / public / linux_syscalls / sys / prctl.h
1 /*
2  * Copyright 2014 The Native Client Authors. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the LICENSE file.
5  */
6
7 #ifndef NATIVE_CLIENT_SRC_PUBLIC_LINUX_SYSCALLS_SYS_PRCTL_H_
8 #define NATIVE_CLIENT_SRC_PUBLIC_LINUX_SYSCALLS_SYS_PRCTL_H_
9
10 #include <stdint.h>
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 int prctl(int option, uintptr_t arg2, uintptr_t arg3,
17           uintptr_t arg4, uintptr_t arg5);
18
19 #define PR_GET_NAME 16
20
21 #ifdef __cplusplus
22 }
23 #endif
24
25 #endif