Rudiments
device.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4#ifndef RUDIMENTS_DEVICE_H
5#define RUDIMENTS_DEVICE_H
6
7#include <rudiments/private/deviceincludes.h>
8
16class RUDIMENTS_DLLSPEC device : public file {
17 public:
18
21
23 virtual ~device();
24
31 static bool createDeviceNode(const char *filename,
32 bool blockdevice,
33 uint16_t major,
34 uint16_t minor,
35 mode_t perms);
36
37 #include <rudiments/private/device.h>
38};
39
40#endif
Definition device.h:16
static bool createDeviceNode(const char *filename, bool blockdevice, uint16_t major, uint16_t minor, mode_t perms)
virtual ~device()
Definition file.h:19