Subversion Repositories SvarDOS

Rev

Rev 353 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
352 mateuszvis 1
/* entry point for internal commands
2
 * matches internal commands and executes them
3
 * returns exit code or -1 if not processed */
4
 
5
#include <i86.h>
6
#include <stdio.h>
7
 
8
#include "helpers.h"
9
 
10
#include "cmd/set.c"
11
 
12
#include "cmd.h"
13
 
14
int cmd_process(int argc, const char **argv, unsigned short env_seg) {
15
 
16
  if (imatch(argv[0], "set")) return(cmd_set(argc, argv, env_seg));
17
 
18
  return(-1);
19
}