RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros | Variables
main_ln.c File Reference
#include <rtems.h>
#include <rtems/shell.h>
#include <rtems/shellconfig.h>
#include <getopt.h>
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <setjmp.h>
Include dependency graph for main_ln.c:

Data Structures

struct  rtems_shell_ln_globals
 

Macros

#define __need_getopt_newlib
 
#define fflag   globals->fflag
 
#define hflag   globals->hflag
 
#define iflag   globals->iflag
 
#define sflag   globals->sflag
 
#define vflag   globals->vflag
 
#define linkch   globals->linkch
 
#define exit_jump   &(globals->exit_jmp)
 
#define exit(ec)   rtems_shell_ln_exit(globals, ec)
 
#define getprogname()   "ln"
 

Variables

int(* linkf )(const char *, const char *)
 
rtems_shell_cmd_t rtems_shell_LN_Command
 

Variable Documentation

◆ rtems_shell_LN_Command

rtems_shell_cmd_t rtems_shell_LN_Command
Initial value:
= {
"ln",
"ln ln [-fhinsv] source_file [target_file]",
"files",
rtems_shell_main_ln,
NULL,
NULL
}