mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
syscalls: implement sysctl and add process listing
This commit is contained in:
@@ -590,6 +590,10 @@ void tty_unregister(tty_t *tty) {
|
||||
}
|
||||
}
|
||||
|
||||
void tty_release(tty_t *tty) {
|
||||
VOP_RELEASE(tty->mastervnode);
|
||||
}
|
||||
|
||||
size_t tty_opened(tty_t *tty) {
|
||||
return __atomic_load_n(&tty->opened, __ATOMIC_SEQ_CST);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user