WKern
Loading...
Searching...
No Matches
shell.h File Reference

Go to the source code of this file.

Functions

void Sh ()
 The main interactive WKern shell loop.
void Help ()
 Prints Shell Help.
void Regexc ()
 Interactive regex command.

Function Documentation

◆ Help()

void Help ( )

Prints Shell Help.

Definition at line 23 of file shellhelp.c.

◆ Regexc()

void Regexc ( )

Interactive regex command.

Definition at line 28 of file regexcmd.c.

◆ Sh()

void Sh ( )

The main interactive WKern shell loop.

This loop:

  • Prompts the user for input
  • Tokenizes input into arguments
  • Looks up matching command in the command table
  • Executes the corresponding command

On failure, prints an unknown command message.

Note
This loop never exits.

Definition at line 144 of file shell.c.