sink.html 677 B

1234567891011121314151617181920212223242526272829303132
  1. <html>
  2. <head>
  3. <title>sink</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>sink</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. sink - accept and throw away console input
  9. <h3>Synopsis</h3>
  10. /testbin/sink
  11. <h3>Description</h3>
  12. sink reads characters from standard input and throws them away. It is
  13. perhaps of some use for testing standard input or console devices.
  14. <h3>Requirements</h3>
  15. sink uses the following system calls:
  16. <ul>
  17. <li> <A HREF=../syscall/read.html>read</A>
  18. <li> <A HREF=../syscall/write.html>write</A>
  19. <li> <A HREF=../syscall/_exit.html>_exit</A>
  20. </ul>
  21. sink should function properly once the basic system calls are
  22. complete.
  23. </body>
  24. </html>