Go to the source code of this file.
◆ PUT_CALLBACK()
static PUT_CALLBACK |
( |
sh_fputs |
| ) |
|
|
static |
Definition at line 53 of file sh.h.
60 printf (
"system '%s' (%d) failed: %s\n",
str,
r, strerror (errno));
const lzma_allocator const uint8_t size_t uint8_t * out
_Use_decl_annotations_ int __cdecl printf(const char *const _Format,...)
void out_printf(Output *out, char *str,...) __attribute__((format(printf
static int sh_pipe_enabled
static char * sh_pipe_cmd
References out, out_printf(), printf(), r, sh_pipe_cmd, sh_pipe_enabled, sprintf, and cmd_descs_generate::str.
◆ TAG_CALLBACK() [1/3]
static TAG_CALLBACK |
( |
sh_default |
| ) |
|
|
static |
Definition at line 10 of file sh.h.
15 ptr = strstr(
buf,
"<<");
18 for(ptr = ptr+2;*ptr==
' ';ptr=ptr+1);
30 printf (
"system '%s' (%d) failed: %s\n",
buf,
r, strerror (errno));
RZ_API void Ht_() free(HtName_(Ht) *ht)
return strdup("=PC pc\n" "=SP r15\n" "=BP r14\n" "gpr r0 .32 0 0\n" "gpr r1 .32 4 0\n" "gpr r2 .32 8 0\n" "gpr r3 .32 12 0\n" "gpr r4 .32 16 0\n" "gpr r5 .32 20 0\n" "gpr r6 .32 24 0\n" "gpr r7 .32 28 0\n" "gpr r8 .32 32 0\n" "gpr r9 .32 36 0\n" "gpr r10 .32 40 0\n" "gpr r11 .32 44 0\n" "gpr r12 .32 48 0\n" "gpr r13 .32 52 0\n" "gpr r14 .32 56 0\n" "gpr r15 .32 60 0\n" "gpr pc .32 64 0\n" "gpr pr .32 68 0\n" "gpr sr .32 72 0\n" "gpr gbr .32 76 0\n" "gpr mach .32 80 0\n" "gpr macl .32 84 0\n")
References free(), printf(), r, and strdup().
◆ TAG_CALLBACK() [2/3]
static TAG_CALLBACK |
( |
sh_endpipe |
| ) |
|
|
static |
◆ TAG_CALLBACK() [3/3]
static TAG_CALLBACK |
( |
sh_pipe |
| ) |
|
|
static |
◆ sh_args
Initial value:
Definition at line 53 of file sh.h.
◆ sh_pipe_cmd
◆ sh_pipe_enabled
◆ sh_proc
Initial value:= {
.name = "sh",
.tag_pre = "{{",
.tag_post = "}}",
.fputs = sh_fputs,
.multiline = "\\\n",
.default_echo = 1,
.chop = 0,
.tag_begin = 0,
}
static struct Arg sh_args[]
static struct Tag sh_tags[]
Definition at line 80 of file sh.h.
◆ sh_tags
Initial value:= {
{ "pipe", sh_pipe },
{ "endpipe", sh_endpipe },
}
Definition at line 53 of file sh.h.