mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
Kernel: Rename file_description(fd) => open_file_description(fd)
To go with the class rename.
This commit is contained in:
parent
4a9c18afb9
commit
213b8868af
24 changed files with 42 additions and 42 deletions
|
@ -15,7 +15,7 @@ KResultOr<FlatPtr> Process::sys$fcntl(int fd, int cmd, u32 arg)
|
|||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
|
||||
REQUIRE_PROMISE(stdio);
|
||||
dbgln_if(IO_DEBUG, "sys$fcntl: fd={}, cmd={}, arg={}", fd, cmd, arg);
|
||||
auto description = TRY(fds().file_description(fd));
|
||||
auto description = TRY(fds().open_file_description(fd));
|
||||
// NOTE: The FD flags are not shared between OpenFileDescription objects.
|
||||
// This means that dup() doesn't copy the FD_CLOEXEC flag!
|
||||
switch (cmd) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue