]>
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 | 7 | #ifndef KERNEL |
5ba3f43e A |
8 | #include <sys/errno.h> /* errno, ENOSYS */ |
9 | #include <sys/_types/_pid_t.h> /* pid_t */ | |
2d21ac55 A |
10 | static __inline pid_t |
11 | getlcid(pid_t pid) | |
12 | { | |
3e170ce0 A |
13 | errno = ENOSYS; |
14 | return -1; | |
2d21ac55 A |
15 | } |
16 | ||
17 | static __inline int | |
18 | setlcid(pid_t pid, pid_t lcid) | |
19 | { | |
3e170ce0 A |
20 | errno = ENOSYS; |
21 | return -1; | |
2d21ac55 A |
22 | } |
23 | #endif | |
24 | ||
25 | #define LCID_PROC_SELF (0) | |
26 | #define LCID_REMOVE (-1) | |
27 | #define LCID_CREATE (0) | |
28 | ||
0a7de745 | 29 | #endif /* !_SYS_LCTX_H_ */ |