mirror of
https://github.com/mirror/make.git
synced 2024-12-28 05:40:10 +08:00
32 lines
368 B
C
32 lines
368 B
C
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;
|
|
}
|