shell.h File Reference

Minimal command shell. More...

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER)
void shell (void)
 Start command shell.


Detailed Description

Minimal command shell.

Definition in file shell.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

void shell ( void   ) 

Start command shell.

Definition at line 91 of file shell.c.

References exit_flag, free(), readline(), shell_prompt, and system().

Referenced by main().

00091                     {
00092         char *line;
00093 
00094         exit_flag = 0;
00095         while ( ! exit_flag ) {
00096                 line = readline ( shell_prompt );
00097                 if ( line ) {
00098                         system ( line );
00099                         free ( line );
00100                 }
00101         }
00102 }


Generated on Tue Apr 6 20:01:52 2010 for gPXE by  doxygen 1.5.7.1