61 unsigned long elapsed;
70 rc =
execv ( argv[1], argv + 1 );
74 printf (
"%s: %d.%ds\n", argv[0],
75 ( decisecs / 10 ), ( decisecs % 10 ) );
struct arbelprm_rc_send_wqe rc
static union @024010030001061367220137227263210031030210157031 opts
"cert<xxx>" option list
#define COMMAND(name, exec)
int execv(const char *command, char *const argv[])
Execute command.
uint32_t start
Starting offset.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
#define TICKS_PER_SEC
Number of ticks per second.
int parse_options(int argc, char **argv, struct command_descriptor *cmd, void *opts)
Parse command-line options.
Command line option parsing.
#define MAX_ARGUMENTS
No maximum number of arguments.
#define COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage)
Construct command descriptor.
A command-line option descriptor.
static struct option_descriptor time_opts[]
"time" option list
static int time_exec(int argc, char **argv)
"time" command
static struct command_descriptor time_cmd
"time" command descriptor
unsigned long currticks(void)
Get current system time in ticks.
int printf(const char *fmt,...)
Write a formatted string to the console.