error 513 B

12345678910111213141516171819202122232425262728
  1. .TH ERROR 5
  2. .SH NAME
  3. error \- return an error
  4. .SH SYNOPSIS
  5. .ta \w'\fLRerror 'u
  6. .IR size [4]
  7. .B Rerror
  8. .IR tag [2]
  9. .IR ename [ s ]
  10. .SH DESCRIPTION
  11. The
  12. .B Rerror
  13. message
  14. (there is no
  15. .BR Terror )
  16. is used to return an error string
  17. describing the
  18. failure of a transaction.
  19. It replaces the corresponding reply message
  20. that would accompany a successful call; its tag is that
  21. of the failing request.
  22. .PP
  23. By convention, clients may truncate error messages after
  24. .B ERRMAX-1
  25. bytes;
  26. .B ERRMAX
  27. is defined in
  28. .BR <libc.h> .