#include /* fmtmsg test program, by Isaac Dunham * Released into the public domain with no guarantees whatsoever. * * Usage: * testfmt LABEL N TEXT ACTION TAG */ int main (int argc, char **argv) { int sev = MM_NOSEV; //close(2); if (argc > 1) sev = atoi(argv[2]); fmtmsg(MM_SOFT|MM_APPL|MM_PRINT|MM_CONSOLE|MM_RECOVER, argv[1], sev, argv[3], argv[4], argv[5]); }