summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fs.zig3
1 files changed, 3 insertions, 0 deletions
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;