strerror.html 770 B

123456789101112131415161718192021222324252627282930313233343536
  1. <html>
  2. <head>
  3. <title>strerror</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>strerror</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. strerror - get error message for error code
  9. <h3>Library</h3>
  10. Standard C Library (libc, -lc)
  11. <h3>Synopsis</h3>
  12. #include &lt;string.h&gt;<br>
  13. <br>
  14. const char *<br>
  15. strerror(int <em>code</em>);
  16. <h3>Description</h3>
  17. The error string for the error specified by <em>code</em> (see
  18. <A HREF=../syscall/errno.html>errno</A> for more information) is
  19. retrieved.
  20. <p>
  21. It is not itself an error to request error strings for out-of-range
  22. values of <em>code</em>, but the string returned under such
  23. circumstances may not be very enlightening when printed.
  24. <h3>Return Values</h3>
  25. The error string is returned.
  26. </body>
  27. </html>