diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-04 16:27:52 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-04 18:17:16 +0200 |
commit | 58feebeed28bab04e7b462f7cd3beb81984f116e (patch) | |
tree | 7bfbab024632cb8174cdf7e61813598dcd115b77 /Kernel/TTY/SlavePTY.cpp | |
parent | cb1fcd3eaf964832417cafd4df981f77be3697ad (diff) | |
download | serenity-58feebeed28bab04e7b462f7cd3beb81984f116e.zip |
Kernel+LibC: Tidy up sys$ttyname() and sys$ptsname()
- Remove goofy _r suffix from syscall names.
- Don't take a signed buffer size.
- Use Userspace<T>.
- Make TTY::tty_name() return a String instead of a StringView.
Diffstat (limited to 'Kernel/TTY/SlavePTY.cpp')
-rw-r--r-- | Kernel/TTY/SlavePTY.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/TTY/SlavePTY.cpp b/Kernel/TTY/SlavePTY.cpp index 5a3a48dcae..5131c9ae77 100644 --- a/Kernel/TTY/SlavePTY.cpp +++ b/Kernel/TTY/SlavePTY.cpp @@ -54,7 +54,7 @@ SlavePTY::~SlavePTY() DevPtsFS::unregister_slave_pty(*this); } -StringView SlavePTY::tty_name() const +String SlavePTY::tty_name() const { return m_tty_name; } |