Rudiments
include
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
16
class
RUDIMENTS_DLLSPEC
device
:
public
file
{
17
public
:
18
20
device
();
21
24
device
(
const
device
&d);
25
28
device
&
operator=
(
const
device
&d);
29
31
virtual
~
device
();
32
39
static
bool
createDeviceNode(
const
char
*filename,
40
bool
blockdevice,
41
uint16_t major,
42
uint16_t minor,
43
mode_t perms);
44
45
#include <rudiments/private/device.h>
46
};
47
48
#endif
file
Definition:
file.h:19
file::operator=
file & operator=(const file &f)
device
Definition:
device.h:16
Generated on Sat Mar 14 2020 21:50:17 for Rudiments by
1.8.15