error 505 B

123456789101112131415161718192021222324252627
  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 255 bytes,
  24. defined as
  25. .B ERRMAX
  26. in
  27. .BR <libc.h> .