mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Kernel: Rename FileDescriptor to FileDescription.
After reading a bunch of POSIX specs, I've learned that a file descriptor is the number that refers to a file description, not the description itself. So this patch renames FileDescriptor to FileDescription, and Process now has FileDescription* file_description(int fd).
This commit is contained in:
@@ -19,7 +19,7 @@ DebugLogDevice::~DebugLogDevice()
|
||||
{
|
||||
}
|
||||
|
||||
ssize_t DebugLogDevice::write(FileDescriptor&, const byte* data, ssize_t data_size)
|
||||
ssize_t DebugLogDevice::write(FileDescription&, const byte* data, ssize_t data_size)
|
||||
{
|
||||
for (int i = 0; i < data_size; ++i)
|
||||
IO::out8(0xe9, data[i]);
|
||||
|
||||
Reference in New Issue
Block a user