mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
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.
This commit is contained in:
parent
cb1fcd3eaf
commit
58feebeed2
9 changed files with 15 additions and 19 deletions
|
@ -76,7 +76,7 @@ namespace Kernel {
|
|||
S(set_mmap_name) \
|
||||
S(readlink) \
|
||||
S(write) \
|
||||
S(ttyname_r) \
|
||||
S(ttyname) \
|
||||
S(stat) \
|
||||
S(getsid) \
|
||||
S(setsid) \
|
||||
|
@ -111,7 +111,7 @@ namespace Kernel {
|
|||
S(times) \
|
||||
S(utime) \
|
||||
S(sync) \
|
||||
S(ptsname_r) \
|
||||
S(ptsname) \
|
||||
S(select) \
|
||||
S(unlink) \
|
||||
S(poll) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue