CharacterDevice.cpp 294 B

12345678910111213141516
  1. #include "CharacterDevice.h"
  2. #include <LibC/errno_numbers.h>
  3. CharacterDevice::~CharacterDevice()
  4. {
  5. }
  6. RetainPtr<FileDescriptor> CharacterDevice::open(int options)
  7. {
  8. return VFS::the().open(*this, options);
  9. }
  10. int CharacterDevice::ioctl(Process&, unsigned, unsigned)
  11. {
  12. return -ENOTTY;
  13. }