#include <stdio.h>#include <signal.h>Go to the source code of this file.
Classes | |
| struct | st_work |
Defines | |
| #define | DEF_RATE 5.0 |
| #define | GRANULE 5 |
| #define | CHUNK 60 |
| #define | MAXCHILD 12 |
| #define | MAXWORK 10 |
Functions | |
| main (int argc, argv) | |
| onalarm () | |
| grunt () | |
| pipeerr () | |
| wrapup () | |
| getwork () | |
| fatal (char *s) | |
Variables | |
| char | SCCSid [] = "@(#) @(#)dummy.c:3.3 -- 5/15/91 19:30:19" |
| float | thres |
| float | est_rate = DEF_RATE |
| int | nusers |
| int | firstuser |
| int | nwork = 0 |
| int | exit_status = 0 |
| int | sigpipe |
| struct st_work | work [MAXWORK] |
| struct { | |
| int xmit | |
| char * bp | |
| int blen | |
| int fd | |
| int pid | |
| char * line | |
| int firstjob | |
| int thisjob | |
| } | child [MAXCHILD] |
| struct { | |
| int xmit | |
| char * bp | |
| int blen | |
| int fd | |
| int pid | |
| char * line | |
| int firstjob | |
| int thisjob | |
| } | cp [MAXCHILD] |
| struct { ... } child[MAXCHILD] |
| struct { ... } * cp[MAXCHILD] |
| int exit_status = 0 |
| struct st_work work[MAXWORK] |
1.5.8