diff options
author | Elliott Hughes <enh@google.com> | 2020-07-28 12:06:23 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2020-07-28 12:12:20 -0700 |
commit | fce31870886ca101bf359508f0ce6be076433da4 (patch) | |
tree | 2a11e57c4def6ece3d6bb422d183a9ec7edb0b08 /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 9c6d60d073db079a87fbeb5de3e72ac12838a480 (diff) |
Cleanup for #inclusivefixit.
This was initially just to try on "pty" and "tty" for size, while
discussing with other projects to try to align on vocabulary, but -- in
the implemention and tests at least -- but these work out so well that
I'm tempted to go with them anyway if we can't come to a concensus. We
can always come back and change them again later.
What I really like is that you pass the pty to functions like ptsname()
and grantpt() with a 'p' in the name, and the tty to functions like
ttyname() and tcsetattr() with just 't's.
The use of "parent" and "child" in forkpty() seems helpful too.
Also fix the documentation of forkpty(), which wasn't quite right.
Test: treehugger
Change-Id: Ic010c4b669f6528591c653e3701f4e41e0d0df9e
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions