Subversion Repositories SvarDOS

Rev

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

/* entry point for internal commands
 * matches internal commands and executes them
 * returns exit code or -1 if not processed */

#include <i86.h>
#include <stdio.h>

#include "helpers.h"

#include "cmd/set.c"

#include "cmd.h"

int cmd_process(int argc, const char **argv, unsigned short env_seg) {

  if (imatch(argv[0], "set")) return(cmd_set(argc, argv, env_seg));

  return(-1);
}