int main(int argc, char *argv[]) { int seconds; int i; if (argc < 2 || strcmp(argv[1], "--help") == 0) usageErr("%s seconds", argv[0]); seconds = getInt(argv[1], 0, "seconds"); setDisposition(); for (i = 0; i < seconds; i++) sleep(1); ignoreSignal(); for (;;) pause(); exit(EXIT_SUCCESS); }
void Faction::setReflectiveDisposition(disposition d) { setDisposition(this,d); }