]> git.saurik.com Git - apple/xnu.git/blame - bsd/sys/lctx.h
xnu-6153.81.5.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 7#ifndef KERNEL
5ba3f43e
A
8#include <sys/errno.h> /* errno, ENOSYS */
9#include <sys/_types/_pid_t.h> /* pid_t */
2d21ac55
A
10static __inline pid_t
11getlcid(pid_t pid)
12{
3e170ce0
A
13 errno = ENOSYS;
14 return -1;
2d21ac55
A
15}
16
17static __inline int
18setlcid(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_ */