mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
Add a "pwd" utility to userland.
It's implemented as a separate process. How cute is that. Tasks now have a current working directory. Spawned tasks inherit their parent task's working directory. Currently everyone just uses "/" as there's no way to chdir().
This commit is contained in:
parent
eb4074bb9d
commit
ec1d16b307
Notes:
sideshowbarker
2024-07-19 18:39:22 +09:00
Author: https://github.com/awesomekling
Commit: ec1d16b307
17 changed files with 87 additions and 14 deletions
|
@ -16,6 +16,8 @@ public:
|
|||
|
||||
ByteBuffer readEntireFile();
|
||||
|
||||
String absolutePath() const;
|
||||
|
||||
#ifdef SERENITY
|
||||
int fd() const { return m_fd; }
|
||||
void setFD(int fd) { m_fd = fd; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue