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