Subversion Repositories SvarDOS

Rev

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

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