/* This function places the specified character string in okbuf and * causes the string to be written out to terminal0 */ void addokbuf(char *strp) { char *tstrp = strp; while ((*mp++ = *strp++) != '\0'); mp--; termprint(tstrp, 0); }
/* This function places the specified character string in errbuf and * causes the string to be written out to terminal0. After this is done * the system shuts down with a panic message */ void adderrbuf(char *strp) { char *ep = errbuf; char *tstrp = strp; while ((*ep++ = *strp++) != '\0'); termprint(tstrp, 0); PANIC(); }
/* This function places the specified character string in errbuf and * causes the string to be written out to terminal0. After this is done * the system shuts down with a panic message */ void adderrbuf(char *strp) { termprint(strp, 0); PANIC(); }
/* This function places the specified character string in okbuf and * causes the string to be written out to terminal0 */ void addokbuf(char *strp) { termprint(strp, 0); }