tree: fa159c61fd83d31d2d38b153d9152af1fd076d09 [path history] [tgz]
  1. BUILD.gn
  2. fifo.cc
  3. fifo.h
  4. main.cc
  5. pty-client-device.cc
  6. pty-client-device.h
  7. pty-client-vnode.h
  8. pty-client.cc
  9. pty-client.h
  10. pty-server-device.cc
  11. pty-server-device.h
  12. pty-server-vnode.h
  13. pty-server.cc
  14. pty-server.h
  15. pty-tests.cc
  16. README.md
zircon/system/core/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.