#include <stddef.h>
#include <stdio.h>
#include <ether.h>
#include <thread.h>
#include <device.h>

Go to the source code of this file.
Functions | |
| void | shell (int) |
| The XINU shell. | |
Definition in file main.c.
| void shell | ( | int | descrp | ) |
The XINU shell.
Provides an interface to execute commands.
| descrp | descriptor of device on which the shell is open |
Definition at line 47 of file shell.c.
References commandtab, control(), create(), disable, enable, EOF, FALSE, fprintf(), getdev(), lexan(), ncommand, NOMSG, NULL, OK, read(), ready(), receive(), recvclr(), RESCHED_NO, RESCHED_YES, restore, SHELL_BUFLEN, SHELL_CHILDERR, SHELL_CMDPRIO, SHELL_CMDSTK, SHELL_EXIT, SHELL_MAXTOK, SHELL_PROMPT, SHELL_START, SHELL_SYNTAXERR, sleep(), stdin, strcmp(), SYSERR, TRUE, TTY_CTRL_CLR_IFLAG, TTY_CTRL_SET_IFLAG, TTY_ECHO, and TTY_IRAW.

1.5.6