ast_comparator/test/student_data/handout/shlab-handout/cases/reference_22_tsh.c
/* 
 * eval - Evaluate the command line that the user has just typed in.
 * 
 * If the user has requested a built-in command (quit, jobs, bg or fg)
 * then execute it immediately.  Otherwise, fork a child process and
 * run the job in the context of the child.  If the job is running in
 * the foreground, wait for it to terminate and then return.  Note:
 * each child process must have a unique process group ID so that our
 * background children don't receive SIGINT (SIGTSTP) from the kernel
 * when we type ctrl-c (ctrl-z) at the keyboard.  
 *
 * Requires:
 *   <???>
 *
 * Effects:
 *   <???>
 */
Evaluate the command line that the user has just typed in.

If the user has requested a built-in command (quit, jobs, bg or fg)
then execute it immediately.  Otherwise, fork a child process and
run the job in the context of the child.  If the job is running in
the foreground, wait for it to terminate and then return.  Note:
each child process must have a unique process group ID so that our
background children don't receive SIGINT (SIGTSTP) from the kernel
when we type ctrl-c (ctrl-z) at the keyboard.




Evaluate the command line that the user has just typed in . If the user has requested a built - in command ( quit jobs bg or fg ) then execute it immediately . Otherwise fork a child process and run the job in the context of the child . If the job is running in the foreground wait for it to terminate and then return . Note : each child process must have a unique process group ID so that our background children don ' t receive SIGINT ( SIGTSTP ) from the kernel when we type ctrl - c ( ctrl - z ) at the keyboard .
static void
eval(const char *cmdline) 
{
	(void)cmdline;
}
static void eval ( const char * cmdline ) { ( void ) cmdline ; }
eval - Evaluate the command line that the user has just typed in.
eval - Evaluate the command line that the user has just typed in .
// Prevent an "unused parameter" warning.  REMOVE THIS STATEMENT!