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