Subversion Repositories SvarDOS

Rev

Rev 449 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 449 Rev 533
Line 27... Line 27...
27
 *
27
 *
28
 * Quits the COMMAND.COM program (command interpreter)
28
 * Quits the COMMAND.COM program (command interpreter)
29
 *
29
 *
30
 */
30
 */
31
 
31
 
32
static int cmd_exit(struct cmd_funcparam *p) {
32
static enum cmd_result cmd_exit(struct cmd_funcparam *p) {
33
  if (cmd_ishlp(p)) {
33
  if (cmd_ishlp(p)) {
34
    outputnl("EXIT\r\n");
34
    outputnl("EXIT\r\n");
35
    outputnl("Quits the COMMAND.COM program (command interpreter)");
35
    outputnl("Quits the COMMAND.COM program (command interpreter)");
36
  } else {
36
  } else {
37
    sayonara(p->rmod);
37
    sayonara(p->rmod);
38
  }
38
  }
39
  return(-1);
39
  return(CMD_OK);
40
}
40
}