mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:57:44 +00:00
Add a /proc/PID/fds text files that lists all the fds open in a process.
This commit is contained in:
parent
065f0aee35
commit
fd03776443
5 changed files with 44 additions and 5 deletions
|
@ -11,6 +11,8 @@ public:
|
|||
explicit FileHandle(RetainPtr<VirtualFileSystem::Node>&&);
|
||||
~FileHandle();
|
||||
|
||||
int close();
|
||||
|
||||
Unix::off_t seek(Unix::off_t, int whence);
|
||||
Unix::ssize_t read(byte*, Unix::size_t);
|
||||
Unix::ssize_t write(const byte* data, Unix::size_t);
|
||||
|
@ -22,7 +24,7 @@ public:
|
|||
|
||||
ByteBuffer readEntireFile();
|
||||
|
||||
String absolutePath() const;
|
||||
String absolute_path() const;
|
||||
|
||||
bool isDirectory() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue