From 82d8152cd15ea3ddd238caec2072bc2a1327a578 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 27 Sep 2026 19:36:27 -0300 Subject: fs: name EBUSY, for a second open of something one may hold at a time --- src/fs.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/fs.zig') diff --git a/src/fs.zig b/src/fs.zig index ef18a9d..2ab619a 100644 --- a/src/fs.zig +++ b/src/fs.zig @@ -184,6 +184,9 @@ pub const E = struct { pub const NOENT: u16 = 2; pub const IO: u16 = 5; pub const NOMEM: u16 = 12; + /// A second open of something only one may hold at a time (rio's + /// "file in use"); 9ns maps that string to it as well. + pub const BUSY: u16 = 16; pub const EXIST: u16 = 17; pub const NOTDIR: u16 = 20; pub const ISDIR: u16 = 21; -- cgit v1.3