RTEMS 7.0-rc1
Loading...
Searching...
No Matches
Macros | Functions | Variables
shell_script.c File Reference

Shell Script Invocation Implementation. More...

#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <inttypes.h>
#include <sys/types.h>
#include <limits.h>
#include <getopt.h>
#include <rtems.h>
#include <rtems/shell.h>
#include <rtems/stringto.h>
#include "internal.h"

Macros

#define __need_getopt_newlib
 
#define FIRST_LINE_LENGTH   128
 
#define SCRIPT_ARGV_LIMIT   32
 

Functions

int rtems_shell_script_file (int argc RTEMS_UNUSED, char *argv[])
 

Variables

rtems_shell_cmd_t rtems_shell_JOEL_Command
 

Detailed Description

Shell Script Invocation Implementation.

Variable Documentation

◆ rtems_shell_JOEL_Command

rtems_shell_cmd_t rtems_shell_JOEL_Command
Initial value:
= {
.name = "joel",
.usage = "joel [args] SCRIPT",
.topic = "misc",
.command = rtems_shell_main_joel,
.alias = NULL,
.next = NULL
}