xref: /xnu-11215.1.10/bsd/sys/lctx.h (revision 8d741a5de7ff4191bf97d57b9f54c2f6d4a15585)
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
getlcid(pid_t pid)11 getlcid(pid_t pid)
12 {
13 	errno = ENOSYS;
14 	return -1;
15 }
16 
17 static __inline int
setlcid(pid_t pid,pid_t lcid)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_ */
30