device.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_DEVICE_H
#define RUDIMENTS_DEVICE_H
#include <rudiments/private/deviceincludes.h>
class RUDIMENTS_DLLSPEC device : public file {
public:
device();
device(const device &d);
device &operator=(const device &d);
virtual ~device();
static bool createDeviceNode(const char *filename,
bool blockdevice,
uint16_t major,
uint16_t minor,
mode_t perms);
#include <rudiments/private/device.h>
};
#endif
device
Definition: device.h:16
device::operator=
device & operator=(const device &d)
device::createDeviceNode
static bool createDeviceNode(const char *filename, bool blockdevice, uint16_t major, uint16_t minor, mode_t perms)
device::device
device()
device::device
device(const device &d)
device::~device
virtual ~device()
file
Definition: file.h:19