u16 minor
Device specific minor ID number.
MakeNode(int argc, char **argv)
Constructor.
C int errno
The lvalue errno is used by many functions to return error values.
C int atoi(const char *nptr)
Convert a string to an integer.
POSIX-compatible application.
const ArgumentContainer & arguments() const
Get program arguments.
void setDescription(const String &desc)
Set program description.
virtual ~MakeNode()
Destructor.
#define S_IFCHR
Character special.
char * strerror(int errnum)
The strerror function maps the number in errnum to a message string.
ProcessID major
Major device ID number is a PID.
Result registerPositional(const char *name, const char *description, Size count=1)
Register a positional argument.
ArgumentParser & parser()
Get program arguments parser.
#define ERROR(msg)
Output an error message.
int mknod(const char *path, mode_t mode, dev_t)
Make directory, special file, or regular file.
Describes a device ID number.
virtual Result exec()
Execute the application.