Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/shell/xsh_help.c File Reference

#include <kernel.h>
#include <shell.h>
#include <stdio.h>
#include <string.h>

Include dependency graph for xsh_help.c:

Go to the source code of this file.


command xsh_help (ushort stdin, ushort stdout, ushort stderr, ushort nargs, char *args[])

Detailed Description


xsh_help.c 226 2007-07-12 01:18:27Z mschul

Definition in file xsh_help.c.

Function Documentation

command xsh_help ( ushort  stdin,
ushort  stdout,
ushort  stderr,
ushort  nargs,
char *  args[] 

Shell command (help) provides a list of commands recognized by the shell, or displays help information for a particular command.

stdin descriptor of input device
stdout descriptor of output device
stderr descriptor of error device
nargs number of arguments in args array
args array of arguments
OK for success, SYSERR for syntax error

Definition at line 24 of file xsh_help.c.

References commandtab, fprintf(), ncommand, OK, centry::procedure, strncmp(), and SYSERR.

Generated on Thu Oct 9 22:34:53 2008 for xinu by  doxygen 1.5.5