Add sys$ttyname_r and ttyname_r() + ttyname().

And print a greeting when sh starts up so we know which TTY we're on.
This commit is contained in:
Andreas Kling 2018-10-30 22:03:02 +01:00
commit 00c21d1590
Notes: sideshowbarker 2024-07-19 18:36:21 +09:00
12 changed files with 78 additions and 3 deletions

View file

@ -55,6 +55,7 @@ public:
bool isCharacterDevice() const { return m_characterDevice; }
CharacterDevice* characterDevice() { return m_characterDevice; }
const CharacterDevice* characterDevice() const { return m_characterDevice; }
void retain();
void release();