plan9port

[fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port # fast
git clone https://src.adamsgaard.dk/plan9port.git # slow
Log | Files | Refs | README | LICENSE Back to index

error.9p (514B)


      1 .TH ERROR 9P 
      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> .