]> git.saurik.com Git - apple/xnu.git/blame_incremental - bsd/sys/lctx.h
xnu-6153.101.6.tar.gz
[apple/xnu.git] / bsd / sys / lctx.h
... / ...
CommitLineData
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 */
10static __inline pid_t
11getlcid(pid_t pid)
12{
13 errno = ENOSYS;
14 return -1;
15}
16
17static __inline int
18setlcid(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_ */