1 /*
2  * Copyright (C) 2018-2020 Alibaba Group Holding Limited
3  */
4 
5 #ifndef _PRCTL_H
6 #define _PRCTL_H
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 /*
13  * PR_SET_NAME: Set the name of the calling thread, using the value in the
14  *              location pointed to by (char *) arg2.
15  */
16 #define PR_SET_NAME 0x00000000
17 
18 int prctl(int option, ...);
19 
20 #ifdef __cplusplus
21 }
22 #endif
23 
24 #endif /* _PRCTL_H */
25