const ArgumentContainer & arguments() const
Get program arguments.
ArgumentParser & parser()
Get program arguments parser.
void setDescription(const String &desc)
Set program description.
Result registerPositional(const char *name, const char *description, Size count=1)
Register a positional argument.
virtual ~MakeNode()
Destructor.
virtual Result exec()
Execute the application.
MakeNode(int argc, char **argv)
Constructor.
POSIX-compatible application.
C int atoi(const char *nptr)
Convert a string to an integer.
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 mknod(const char *path, mode_t mode, dev_t dev)
Make directory, special file, or regular file.
#define S_IFCHR
Character special.
#define ERROR(msg)
Output an error message.
Describes a device ID number.
ProcessID major
Major device ID number is a PID.
u16 minor
Device specific minor ID number.