RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions | Variables
main_dd.c File Reference
#include <rtems.h>
#include <rtems/shell.h>
#include <rtems/shellconfig.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/filio.h>
#include <sys/time.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "dd.h"
#include "extern-dd.h"
Include dependency graph for main_dd.c:

Macros

#define __unused   __attribute((__unused__))
 
#define DD_DEFFILEMODE   0
 
#define OFLAGS   (O_CREAT | (ddflags & (C_SEEK | C_NOTRUNC) ? 0 : O_TRUNC))
 

Functions

void rtems_shell_dd_exit (rtems_shell_dd_globals *globals, int code)
 
void dd_out (rtems_shell_dd_globals *globals, int force)
 

Variables

rtems_shell_cmd_t rtems_shell_DD_Command
 

Variable Documentation

◆ rtems_shell_DD_Command

rtems_shell_cmd_t rtems_shell_DD_Command
Initial value:
= {
"dd",
"dd [OPERAND]...",
"files",
rtems_shell_main_dd,
NULL,
NULL
}