virtual Result exec()
Execute the application.
virtual ~UnixName()
Destructor.
char machine[UTSBUF]
Name of the hardware type on which the system is running.
C int errno
The lvalue errno is used by many functions to return error values.
char version[UTSBUF]
Current version level of this release.
POSIX-compatible application.
const ArgumentContainer & arguments() const
Get program arguments.
void setDescription(const String &desc)
Set program description.
UnixName(int argc, char **argv)
Constructor.
int uname(struct utsname *name)
Get the name of the current system.
int printf(const char *format,...)
Output a formatted string to standard output.
char * strerror(int errnum)
The strerror function maps the number in errnum to a message string.
Result registerFlag(char arg, const char *name, const char *description)
Register a flag Argument.
ArgumentParser & parser()
Get program arguments parser.
#define ERROR(msg)
Output an error message.
char sysname[UTSBUF]
Name of this implementation of the operating system.
char nodename[UTSBUF]
Name of this node within the communications network to which this node is attached,...
char release[UTSBUF]
Current release level of this implementation.