putchar.html 681 B

1234567891011121314151617181920212223242526272829303132333435
  1. <html>
  2. <head>
  3. <title>putchar</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>putchar</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. putchar - print character to standard output
  9. <h3>Library</h3>
  10. Standard C Library (libc, -lc)
  11. <h3>Synopsis</h3>
  12. #include &lt;stdio.h&gt;<br>
  13. <br>
  14. int<br>
  15. putchar(int <em>chr</em>);
  16. <h3>Description</h3>
  17. putchar writes its argument to standard output.
  18. <h3>Return Values</h3>
  19. putchar returns <em>chr</em>. On error, EOF is returned, and
  20. <A HREF=../syscall/errno.html>errno</A> is set according to the error
  21. encountered.
  22. <h3>Errors</h3>
  23. Any of the errors from <A HREF=../syscall/write.html>write</A> may
  24. occur.
  25. </body>
  26. </html>