10 lines
268 B
C++
10 lines
268 B
C++
#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);
|
|
} |