tree: 0684f0127ec08ab576e7bc5d59f13bb6cdf2521c [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. fifo.cc
  4. fifo.h
  5. main.cc
  6. meta/
  7. pty-client-device.cc
  8. pty-client-device.h
  9. pty-client-vnode.h
  10. pty-client.cc
  11. pty-client.h
  12. pty-server-device.cc
  13. pty-server-device.h
  14. pty-server-vnode.h
  15. pty-server.cc
  16. pty-server.h
  17. pty-tests.cc
src/bringup/bin/ptysvc/README.md

The ptysvc provides basic pseudoterminals to its clients. It exposes a fuchsia.hardware.pty.Device service interface that acts very similarly to the UNIX 98 “/dev/ptmx”. Each connection made through this interface will be communicating with a new unique pty server.

The ptysvc implementation uses a single-threaded asynchronous programming model.