Apache Mesos
|
Represent the argument list expected by execv
routines.
More...
#include <argv.hpp>
Public Member Functions | |
Argv (const Argv &)=delete | |
Argv & | operator= (const Argv &)=delete |
template<typename Iterable > | |
Argv (const Iterable &iterable) | |
~Argv () | |
operator char ** () const | |
operator std::vector< std::string > () const | |
Represent the argument list expected by execv
routines.
The argument list is an array of pointers that point to null-terminated strings. The array of pointers must be terminated by a nullptr. To use this abstraction, see the following example:
vector<string> args = {"arg0", "arg1"}; os::raw::Argv argv(args); execvp("my_binary", argv);
|
delete |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |