lprintf
lprintf("\nOh no! The water was foul! You suffer %ld hit points!", (long) x);
lprintf("\nYou suffer %ld hit points damage!", (long) i);
lprintf(" %21s %s\n", spelname[j], speldescript[j]);
lprintf("\nc[%2ld] = ", (long) j);
lprintf("%5ld ", (long) c[i + j]);
lprintf(" %5ld", (long) rndcount[i]);
lprintf("\nCan't open file <%s> to save game\n", fname);
lprintf("\nCan't open file <%s>to restore game\n", fname);
lprintf("\n\nPlayer attributes:\n\nHit points: %2ld(%2ld)", (long) c[HP], (long) c[HPMAX]);
lprintf("\ngold: %ld Experience: %ld Character level: %ld Level in caverns: %ld",
lprintf("\nTotal types of monsters: %ld", (long) MAXMONST + 8);
lprintf("\nMaze for level %s:\n", levelname[level]);
lprintf("%19s %2ld %3ld ", monster[i].name, (long) monster[i].level, (long) monster[i].armorclass);
lprintf(" %3ld %3ld %3ld ", (long) monster[i].damage, (long) monster[i].attack, (long) monster[i].defense);
lprintf("%6ld %3ld %6ld\n", (long) monster[i].gold, (long) monster[i].hitpoints, (long) monster[i].experience);
lprintf("\n%20s %2ld/%2ld/%2ld %2ld/%2ld/%2ld %2ld/%2ld/%2ld",
lprintf("%20s\n", &potionhide[i][1]);
lprintf("%20s\n", &scrollhide[i][1]);
lprintf(str, (long) c[idx]);
lprintf("%s %-20s ", spelcode[i], spelname[i]);
lprintf("%-26s", &scrollname[i][1]);
lprintf("%-26s", &potionname[i][1]);
lprintf("Spells:%3ld(%3ld)", (long) c[SPELLS], (long) c[SPELLMAX]);
lprintf("Spells:%3ld(%2ld) ", (long) c[SPELLS], (long) c[SPELLMAX]);
lprintf(" AC: %-3ld WC: %-3ld Level", (long) c[AC], (long) c[WCLASS]);
lprintf("%3ld", (long) c[LEVEL]);
lprintf(" %-2ld", (long) c[LEVEL]);
lprintf(" Exp: %-9ld %s\n", (long) c[EXPERIENCE], class[c[LEVEL] - 1]);
lprintf("HP: %3ld(%3ld) STR=%-2ld INT=%-2ld ",
lprintf("WIS=%-2ld CON=%-2ld DEX=%-2ld CHA=%-2ld LV:",
lprintf(" Gold: %-6ld", (long) c[GOLD]);
void lprintf(const char *, ...) __printflike(1, 2);
lprintf("\nYou went down to level %ld!", (long) c[LEVEL]);
lprintf("\nYou don't have item %c! ", k + 'a');
lprintf("\nWelcome to level %ld", (long) c[LEVEL]); /* if we changed levels */
lprintf("Can't open help file \"%s\" ", helpfile);
lprintf("error creating file <%s>: %s\n", str,
lprintf("\nYou don't have item %c!", x);
lprintf("\nYou can't wield item %c!", x);
lprintf("You drop %ld gold pieces", (long)amt);
lprintf("\nWhat do you want to %s [* for all] ? ", str);
lprintf(".) %ld gold pieces", (long) c[GOLD]);
lprintf("\nElapsed time is %ld. You have %ld mobuls left", (long) ((gltime + 99) / 100 + 1), (long) ((TIMELIMIT - gltime) / 100));
lprintf("\n%c) %s", idx + 'a', objectname[iven[idx]]);
lprintf(" of%s", str2[ivenarg[idx]]);
lprintf("\n%c) %s", indx + 'a', objectname[iven[indx]]);
lprintf(" + %ld", (long) ivenarg[indx]);
lprintf(" %ld", (long) ivenarg[indx]);
lprintf("\nThe stuff you are carrying presently weighs %ld pounds", (long) packweight());
lprintf("\nCaverns of Larn, Version %ld.%ld, Diff=%ld",
lprintf("\nYou presently owe %ld gp in taxes.",
lprintf("\nYour weapon is dulled by the %s", lastmonst);
lprintf("\nThe %s died!", lastmonst);
lprintf("\nThe %s misses wildly", lastmonst);
lprintf("\nThe %s is awestruck at your magnificence!", lastmonst);
lprintf("\n The %s hit you ", lastmonst);
lprintf("\n The %s missed ", lastmonst);
lprintf("\ncan't createmonst(%ld)\n", (long) mon);
lprintf(p, lastmonst);
lprintf("\nThe %s drains you of your life energy!", lastmonst);
lprintf(p, lastmonst);
lprintf("\nThe %s hits you -- you feel a sense of loss", lastmonst);
lprintf("\nThe %s picks your pocket and takes:", lastmonst);
lprintf(p, lastmonst);
lprintf("\nThe %s barely escapes being annihilated!", monster[*p].name);
lprintf("\nThe %s dispels the sphere!", monster[m].name);
lprintf("\nThe %s causes cancellation of the sphere!", monster[m].name);
lprintf(" There will be no more %s's", monster[j].name);
lprintf(" spell %ld not available!", (long) x);
lprintf(spelmes[tmp], monster[monst].name);
lprintf(str, "spell caster (that's you)", (long) arg);
lprintf(str, lastmonst, (long) arg);
lprintf(str, lastmonst);
lprintf(str, "wall");
lprintf(str, "door");
lprintf(str, "statue");
lprintf(str, "throne");
lprintf(str, lastmonst);
lprintf("You lose %ld hit point", (long) j);
lprintf("You gain %ld hit point", (long) j);
lprintf("You just gained %ld spell", (long) j);
lprintf("You just lost %ld spell", (long) j);
lprintf("You just lost %ld experience point", (long) j);
lprintf("You just gained %ld experience point", (long) j);
lprintf("\nThe %s dispels the sphere!", monster[tmp].name);
lprintf("\n%s hits the %s", who, monster[tmp].name);
lprintf("\n%s hits and kills the %s",
lprintf("\nThe %s gets teleported", monster[tmp].name);
lprintf("\n\nThere is %s here!", objectname[i]);
lprintf("\nYou fell into a pit! You suffer %ld hit points damage", (long) i);
lprintf("\nSpell \"%s\": %s\n%s", spelcode[i], spelname[i], speldescript[i]);
lprintf("\nIt is worth %ld!", (long) i);
lprintf("Welcome home %s. Latest word from the doctor is not good.\n", logname);
lprintf("your daughter has only %ld mobuls left in this world. It's up to you,\n", (long) ((TIMELIMIT - gltime + 99) / 100));
lprintf("%s, to find the only hope for your daughter, the very rare\n", logname);
lprintf("\n\nYou have found %s", objectname[i]);
lprintf("\n\nYou have found %s", objectname[i]);
lprintf("\n\nYou have found %s ", objectname[theitem]);
lprintf("+ %ld", (long) tmp);
lprintf(" %ld", (long) tmp);
lprintf(" of%s", potionname[i]);
lprintf("\nYou hurt your foot dumb dumb! You suffer %ld hit points", (long) k);
lprintf(" of%s", scrollname[i]);
lprintf("\n\nThere is %s here!", objectname[i]);
lprintf("\n\nThere is %s here!", objectname[i]);
lprintf("\nYou went forward in time by %ld mobuls", (long) ((i + 99) / 100));
lprintf("\nYou went backward in time by %ld mobuls", (long) (-(i + 99) / 100));
lprintf("%10ld %2ld %5ld Mobuls %s \n",
lprintf("%10ld %2ld %s ",
lprintf("killed by a %s", monster[sco[j].what].name);
lprintf("%s", whydead[sco[j].what - 256]);
lprintf(" on %s", levelname[sco[j].level]);
lprintf("Score: %ld, Diff: %ld, %s ", (long) c[GOLD], (long) c[HARDGAME], logname);
lprintf("killed by %s %s", mod, monster[x].name);
lprintf("%s", whydead[x - 256]);
lprintf(" on %s\n", levelname[level]);
lprintf("Can't locate log file <%s>\n", logfile);
lprintf("Can't stat log file <%s>\n", logfile);
lprintf("Score: %ld, Diff: %ld, %s %s on %ld at %s", (long) (logg.score), (long) (logg.diff), logg.who, logg.what, (long) (logg.cavelev), p + 4);
lprintf(" Experience Level: %ld, AC: %ld, HP: %ld/%ld, Elapsed Time: %ld minutes\n", (long) (logg.lev), (long) (logg.ac), (long) (logg.hp), (long) (logg.hpmax), (long) (logg.elapsedtime));
lprintf(" CPU time used: %ld seconds, Machine usage: %ld.%02ld%%\n", (long) (logg.cputime), (long) (logg.usage / 100), (long) (logg.usage % 100));
lprintf(" BYTES in: %ld, out: %ld, moves: %ld, deaths: %ld, spells cast: %ld\n", (long) (logg.bytin), (long) (logg.bytout), (long) (logg.moves), (long) (logg.killed), (long) (logg.spused));
lprintf(" out bytes per move: %ld, time per move: %ld ms\n", (long) (logg.bytout / logg.moves), (long) ((logg.cputime * 1000) / logg.moves));
lprintf("%ld\n%s", (long) ++high, name); /* new id # and name */
lprintf("They have also told us that you owe %ld gp in back taxes, and as we must\n", (long) outstanding_taxes);
lprintf("%ld gold pieces", (long) c[GOLD]);
lprintf("%39s", "");
lprintf("%c) ", (i % 26) + 'a');
lprintf("potion of%s", potionhide[itm[i].arg]);
lprintf("scroll of%s", scrollhide[itm[i].arg]);
lprintf("%s", objectname[itm[i].obj]);
lprintf("%6ld", (long) (itm[i].price * 10));
lprintf("%ld gold pieces. ", (long) c[GOLD]);
lprintf("levied taxes have been paid. They have also told us that you owe %ld gp in\n", (long) outstanding_taxes);
lprintf("%c) %s", i + 'a', objectname[iven[i]]);
lprintf("%5ld", (long) gemvalue[i]);
lprintf("You have %8ld gold pieces in the bank.", (long) c[BANKACCOUNT]);
lprintf("You have %8ld gold pieces", (long) c[GOLD]);
lprintf("%39s", "");
lprintf("\nItem %c is not a gemstone!", i + 'a');
lprintf("%39s", "");
lprintf("%8ld", (long) c[BANKACCOUNT]);
lprintf("%8ld", (long) c[GOLD]);
lprintf("\nI see you have %s", objectname[gemstone]);
lprintf("\nI can see this is an excellent stone, It is worth %ld", (long) amt);
lprintf("\nYou don't have item %c!", isub + 'a');
lprintf("\nItem (%c) is worth %ld gold pieces to us. Do you want to sell it? ", i, (long) value);
lprintf("You presently owe %ld gp in taxes. ", (long) outstanding_taxes);
lprintf("You have %6ld gp. ", (long) c[GOLD]);
lprintf(sc->sc_dev, "open: flags=0x%x\n", flags);
lprintf(sc->sc_dev, "opened\n");
lprintf(sc->sc_dev, "closed\n");
lprintf(sc->sc_dev, "write %d\n",