1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

Kernel: Expose blocking and cloexec fd flags in ProcFS

This commit is contained in:
Sergey Bugaev 2019-09-28 23:00:38 +03:00 committed by Andreas Kling
parent eb18825fce
commit 9a41dda029
3 changed files with 14 additions and 0 deletions

View file

@ -95,6 +95,7 @@ public:
FileDescription* file_description(int fd);
const FileDescription* file_description(int fd) const;
int fd_flags(int fd) const;
template<typename Callback>
static void for_each(Callback);