powerd++
0.4.4
|
Implements loadplay, a bootstrapping tool for libloadplay. More...
#include "Options.hpp"
#include "errors.hpp"
#include "utility.hpp"
#include "sys/env.hpp"
#include "sys/io.hpp"
#include <unistd.h>
Namespaces | |
anonymous_namespace{loadplay.cpp} | |
File local scope. | |
Functions | |
const char * | anonymous_namespace{loadplay.cpp}::filename (char const *const path) |
Performs very rudimentary file name argument checks. More... | |
void | anonymous_namespace{loadplay.cpp}::execute (char const *const file, char *const argv[]) |
Executes the given command, substituting this process. More... | |
void | anonymous_namespace{loadplay.cpp}::set_library_path (int const argc, char *const argv[]) |
If running from an explicit path add the path to the library search path. More... | |
int | main (int argc, char *argv[]) |
Parse command line arguments and execute the given command. More... | |
Variables | |
const char *const | anonymous_namespace{loadplay.cpp}::USAGE = "[-h] [-i file] [-o file] command [...]" |
The short usage string. | |
const Parameter< OE > | anonymous_namespace{loadplay.cpp}::PARAMETERS [] |
Definitions of command line parameters. More... | |
Implements loadplay, a bootstrapping tool for libloadplay.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Parse command line arguments and execute the given command.
argc,argv | The command line arguments |