]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * TODO: remove this file | |
3 | */ | |
4 | #ifndef _SYS_LCTX_H_ | |
5 | #define _SYS_LCTX_H_ | |
6 | ||
7 | #ifndef KERNEL | |
8 | static __inline pid_t | |
9 | getlcid(pid_t pid) | |
10 | { | |
11 | errno = ENOSYS; | |
12 | return -1; | |
13 | } | |
14 | ||
15 | static __inline int | |
16 | setlcid(pid_t pid, pid_t lcid) | |
17 | { | |
18 | errno = ENOSYS; | |
19 | return -1; | |
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_ */ |