1 /* Copyright (C) 2008 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
3 Contributed by David Bartley <dtbartle@csclub.uwaterloo.ca>, 2008.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
24 #include <sys/types.h>
25 #include <sys/procset.h>
30 #define PC_GETCLINFO 1
34 #define PC_GETPRIRANGE 5
36 #define PC_SETXPARMS 7
37 #define PC_GETXPARMS 8
39 #define PC_GETDFLCL 10
48 char pc_clname[PC_CLNMSZ];
49 #define PC_CLINFOSZ (32 / sizeof (int))
50 int pc_clinfo[PC_CLINFOSZ];
74 typedef struct pc_vaparm
77 unsigned long long pc_parm;
82 #define PC_KY_CLNAME 1
84 typedef struct pc_vaparms
86 unsigned int pc_vaparmscnt;
87 #define PC_VAPARMCNT 8
88 pc_vaparm_t pc_parms[PC_VAPARMCNT];
98 typedef struct pcadmin
101 __caddr_t pc_cladmin;
106 long priocntl (idtype_t idtype, id_t id, int cmd, ...);
108 long priocntlset (procset_t *ps, int cmd, ...);
112 #endif /* _PRIOCNTLP_H */