aboutsummaryrefslogtreecommitdiff
path: root/man/man9/error.9p
diff options
context:
space:
mode:
Diffstat (limited to 'man/man9/error.9p')
-rw-r--r--man/man9/error.9p28
1 files changed, 28 insertions, 0 deletions
diff --git a/man/man9/error.9p b/man/man9/error.9p
new file mode 100644
index 00000000..6380f64f
--- /dev/null
+++ b/man/man9/error.9p
@@ -0,0 +1,28 @@
+.TH ERROR 9P
+.SH NAME
+error \- return an error
+.SH SYNOPSIS
+.ta \w'\fLRerror 'u
+.IR size [4]
+.B Rerror
+.IR tag [2]
+.IR ename [ s ]
+.SH DESCRIPTION
+The
+.B Rerror
+message
+(there is no
+.BR Terror )
+is used to return an error string
+describing the
+failure of a transaction.
+It replaces the corresponding reply message
+that would accompany a successful call; its tag is that
+of the failing request.
+.PP
+By convention, clients may truncate error messages after
+.B ERRMAX-1
+bytes;
+.B ERRMAX
+is defined in
+.BR <libc.h> .