#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <sched.h>
#include <sys/resource.h>
Go to the source code of this file.
◆ main()
Definition at line 18 of file msetpriority.cxx.
19{
21
22
23
26
27
28
30 fprintf(
stderr,
"%s: must be setuid-root, please do: chown root, chmod u+s\n",
argv[0]);
31 exit(1);
32 }
33
34#if 1
36 sparam.sched_priority = 50;
37
39
42 exit(1);
43 }
44#endif
45
46#if 0
48
51 exit(1);
52 }
53#endif
54
55
57
60 exit(1);
61 }
62
65 exit(1);
66 }
67
69
71 exit(1);
72}
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)