Subversion Repositories SvarDOS

Rev

Rev 376 | Rev 397 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

/*
 * exit
 *
 * Quits the COMMAND.COM program (command interpreter)
 *
 */

static int cmd_exit(struct cmd_funcparam *p) {
  if (cmd_ishlp(p)) {
    outputnl("EXIT\r\n");
    outputnl("Quits the COMMAND.COM program (command interpreter)");
  } else {
    exit(0);
  }
  return(-1);
}