|
|
Power 6/32 Unix version 1.2b
static char sccsid[] = "@(#)help.c 2.4";
#include "cdb.h"
long time();
/* H E L P */
export void Help()
{
/* need to open `help.text' and print it */
system("more /usr/bin/help.text");
} /* Help */
/* F I N D A N D F I X */
export void FindAndFix()
{
long i, x[2];
#define cMsg 5
time((long *)x);
srand(x[0]+x[1]);
i = rand() % cMsg;
switch (i) {
case 0:
printf("Hmm, seems to be in the hardware.\n");
break;
case 1:
printf("Things look good, but you may have a halting problem.\n");
break;
case 2:
printf("No known bugs.\n");
break;
case 3:
printf("Why ask me? It's YOUR program!\n");
break;
case 4:
printf("I can see the problem, but it will do you good to find it yourself.\n");
break;
} /* switch */
} /* FindAndFix */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.