iPXE
|
Time commands. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ipxe/command.h>
#include <ipxe/parseopt.h>
#include <ipxe/timer.h>
Go to the source code of this file.
Data Structures | |
struct | time_options |
"time" options More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER) | |
static int | time_exec (int argc, char **argv) |
"time" command More... | |
Variables | |
static struct option_descriptor | time_opts [] = {} |
"time" option list More... | |
static struct command_descriptor | time_cmd |
"time" command descriptor More... | |
struct command time_command | __command |
"time" command More... | |
Time commands.
Definition in file time_cmd.c.
FILE_LICENCE | ( | GPL2_OR_LATER | ) |
|
static |
"time" command
argc | Argument count |
argv | Argument list |
rc | Return status code |
Definition at line 57 of file time_cmd.c.
References currticks(), execv(), opts, parse_options(), printf(), rc, start, TICKS_PER_SEC, and time_cmd.
|
static |
"time" option list
Definition at line 43 of file time_cmd.c.
|
static |
"time" command descriptor
Definition at line 46 of file time_cmd.c.
Referenced by time_exec().
struct command time_command __command |
"time" command
Definition at line 80 of file time_cmd.c.