blob: 56b7305cf391970e0bcd2d7fd8135782da5255c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include <Kernel/FileSystem/File.h>
#include <Kernel/FileSystem/FileDescription.h>
File::File()
{
}
File::~File()
{
}
KResultOr<NonnullRefPtr<FileDescription>> File::open(int options)
{
UNUSED_PARAM(options);
return FileDescription::create(*this);
}
void File::close()
{
}
int File::ioctl(FileDescription&, unsigned, unsigned)
{
return -ENOTTY;
}
KResultOr<Region*> File::mmap(Process&, FileDescription&, VirtualAddress, size_t, size_t, int)
{
return KResult(-ENODEV);
}
|