Subversion Repositories SvarDOS

Rev

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

Rev 372 Rev 376
Line 5... Line 5...
5
 *
5
 *
6
 */
6
 */
7
 
7
 
8
static int cmd_exit(struct cmd_funcparam *p) {
8
static int cmd_exit(struct cmd_funcparam *p) {
9
  if ((p->argc == 1) && (imatch(p->argv[0], "/?"))) {
9
  if ((p->argc == 1) && (imatch(p->argv[0], "/?"))) {
10
    output("EXIT\r\n"
10
    outputnl("EXIT\r\n");
11
           "\r\n"
-
 
12
           "Quits the COMMAND.COM program (command interpreter)\r\n"
11
    outputnl("Quits the COMMAND.COM program (command interpreter)");
13
           "\r\n");
-
 
14
  } else {
12
  } else {
15
    exit(0);
13
    exit(0);
16
  }
14
  }
17
  return(-1);
15
  return(-1);
18
}
16
}