summaryrefslogtreecommitdiff
path: root/loadtest.c
blob: 19b80f65cedc68911c175fc207580ee5cb650b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
extern volatile void exit (int);
extern double load_average (void);

double max_load_average = -1;
unsigned int job_slots_used = 0;


int
main ()
{
  printf ("load_average () = %.2f\n", load_average ());
  exit (0);
}

void
error (char *fmt, ...)
{
  exit (1);
}

void 
perror_with_name (char *a, char *b)
{
  exit (1);
}

void
wait_for_children (int i)
{
  return;
}