mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 14:35:07 +00:00
Kernel: Support O_APPEND
As per the manpage, this acts as a transparent lseek() before write.
This commit is contained in:
parent
90dbf689c0
commit
c6e79bd53a
3 changed files with 13 additions and 2 deletions
|
@ -75,6 +75,7 @@ Retained<FileDescriptor> FileDescriptor::clone()
|
|||
ASSERT(descriptor);
|
||||
descriptor->m_current_offset = m_current_offset;
|
||||
descriptor->m_is_blocking = m_is_blocking;
|
||||
descriptor->m_should_append = m_should_append;
|
||||
descriptor->m_file_flags = m_file_flags;
|
||||
return *descriptor;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue