Functions | Variables
shim.cpp File Reference
#include <stdexcept>
#include <vector>
#include <sstream>
#include <unistd.h>
#include <getopt.h>
#include <string.h>
#include <utmp.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/prctl.h>
Include dependency graph for shim.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
void usage ()
 

Variables

static const struct option OPTIONS []
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 50 of file shim.cpp.

void usage ( )

Definition at line 31 of file shim.cpp.

Variable Documentation

const struct option OPTIONS[]
static
Initial value:
= {
{"help", no_argument, nullptr, 'h'},
{"namespace", required_argument, nullptr, 'n'},
{"env", required_argument, nullptr, 'e'},
{"coredump", no_argument, nullptr, 'c'},
{"coredump-relative", required_argument, nullptr, 'C'},
{"tty", required_argument, nullptr, 't'},
{"run", required_argument, nullptr, 'r'},
{"stderr", required_argument, nullptr, 's'},
{nullptr, 0, nullptr, 0}
}

Definition at line 18 of file shim.cpp.



rosmon_core
Author(s): Max Schwarz
autogenerated on Sat Jan 9 2021 03:35:43