]> git.saurik.com Git - apple/xnu.git/blame - bsd/sys/lctx.h
xnu-3789.41.3.tar.gz
[apple/xnu.git] / bsd / sys / lctx.h
CommitLineData
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
8static __inline pid_t
9getlcid(pid_t pid)
10{
3e170ce0
A
11 errno = ENOSYS;
12 return -1;
2d21ac55
A
13}
14
15static __inline int
16setlcid(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_ */