]>
Commit | Line | Data |
---|---|---|
2d21ac55 | 1 | /* |
3e170ce0 | 2 | * TODO: remove this file |
2d21ac55 | 3 | */ |
2d21ac55 A |
4 | #ifndef _SYS_LCTX_H_ |
5 | #define _SYS_LCTX_H_ | |
6 | ||
2d21ac55 A |
7 | #ifndef KERNEL |
8 | static __inline pid_t | |
9 | getlcid(pid_t pid) | |
10 | { | |
3e170ce0 A |
11 | errno = ENOSYS; |
12 | return -1; | |
2d21ac55 A |
13 | } |
14 | ||
15 | static __inline int | |
16 | setlcid(pid_t pid, pid_t lcid) | |
17 | { | |
3e170ce0 A |
18 | errno = ENOSYS; |
19 | return -1; | |
2d21ac55 A |
20 | } |
21 | #endif | |
22 | ||
23 | #define LCID_PROC_SELF (0) | |
24 | #define LCID_REMOVE (-1) | |
25 | #define LCID_CREATE (0) | |
26 | ||
27 | #endif /* !_SYS_LCTX_H_ */ |