|
|
1.1 ! root 1: #include "scsi.h" ! 2: ! 3: main() ! 4: { ! 5: if(scsiinit(1)) ! 6: exit(1); ! 7: scsi_verbose = 1; ! 8: scsiid(2); ! 9: Ftie(0, 1); ! 10: Fprint(1, "running\n"); ! 11: Fflush(1); ! 12: while(yyparse()) ! 13: fprint(2, "error!!\n"); ! 14: exit(0); ! 15: } ! 16: ! 17: getc() ! 18: { ! 19: register c; ! 20: ! 21: if((c = Fgetc(0)) < 0) ! 22: return(0); ! 23: else ! 24: return(c); ! 25: } ! 26: ! 27: help() ! 28: { ! 29: extern char *helpstrs[]; ! 30: int i; ! 31: ! 32: Fprint(1, "\n>> grammar\n"); ! 33: for(i = 0; helpstrs[i]; i++) ! 34: Fprint(1, "%s\n", helpstrs[i]); ! 35: Fprint(1, "\n"); ! 36: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.