From f181fcb587e88ac602289a2f258b7a39e745a4e4 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Thu, 20 Mar 2025 18:58:21 -0600 Subject: lib9p: idl: Create an 'errno' type --- lib9p/idl/2005-9P2000.u.9p | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib9p/idl/2005-9P2000.u.9p') diff --git a/lib9p/idl/2005-9P2000.u.9p b/lib9p/idl/2005-9P2000.u.9p index d96bbce..fefe3e9 100644 --- a/lib9p/idl/2005-9P2000.u.9p +++ b/lib9p/idl/2005-9P2000.u.9p @@ -14,6 +14,9 @@ from ./2002-9P2000.9p import * num nuid = 4 "NONUID = ~0" +num errno = 4 + "NOERROR = 0" + struct stat += "file_extension[s]" "file_owner_n_uid[nuid]" "file_owner_n_gid[nuid]" @@ -22,7 +25,7 @@ struct stat += "file_extension[s]" msg Tauth += "n_uid[nuid]" msg Tattach += "n_uid[nuid]" -msg Rerror += "errno[4]" +msg Rerror += "errno[errno]" bitfield dm += "23=DEVICE" "21=NAMEDPIPE" -- cgit v1.2.3-2-g168b