Go to the source code of this file.
◆ COMMANDS
◆ __command
"exit" command
"shell" command
"prompt" command
"sleep" command
"iseq" command
"isset" command
Definition at line 24 of file command.h.
◆ FILE_LICENCE()
FILE_LICENCE |
( |
GPL2_OR_LATER_OR_UBDL |
| ) |
|
◆ concat_args()
char* concat_args |
( |
char ** |
args | ) |
|
Concatenate arguments.
- Parameters
-
args | Argument list (NULL-terminated) |
- Return values
-
string | Concatenated arguments |
The returned string is allocated with malloc(). The caller is responsible for eventually free()ing this string.
Definition at line 358 of file exec.c.
366 for ( arg = args ; *arg ; arg++ )
376 for ( arg = args ; *arg ; arg++ ) {
378 ( ( arg == args ) ?
"" :
" " ), *arg );
#define sprintf(buf, fmt,...)
Write a formatted string to a buffer.
assert((readw(&hdr->flags) &(GTF_reading|GTF_writing))==0)
void * zalloc(size_t size)
Allocate cleared memory.
size_t strlen(const char *src)
Get length of string.
#define NULL
NULL pointer (VOID *)
References assert(), len, NULL, sprintf, string, strlen(), and zalloc().
Referenced by dynui_exec(), echo_exec(), imgsingle_exec(), item_exec(), param_exec(), prompt_exec(), and set_value().