Luna/kernel/include/fs/devices/NullDevice.h

10 lines
268 B
C
Raw Normal View History

2022-10-25 15:59:55 +00:00
#pragma once
#include "fs/VFS.h"
namespace NullDevice
{
VFS::Node* create_new(const char* devname);
ssize_t write(VFS::Node* node, size_t offset, size_t size, const char* buffer);
ssize_t read(VFS::Node* node, size_t offset, size_t size, char* buffer);
}