| ... | ... | @@ -3667,6 +3667,7 @@ pub const INotifyAddWatchError = error{ |
| 3667 | 3667 | FileNotFound, |
| 3668 | 3668 | SystemResources, |
| 3669 | 3669 | UserResourceLimitReached, |
| 3670 | NotDir, |
| 3670 | 3671 | } || UnexpectedError; |
| 3671 | 3672 | |
| 3672 | 3673 | /// add a watch to an initialized inotify instance |
| ... | ... | @@ -3690,6 +3691,7 @@ pub fn inotify_add_watchZ(inotify_fd: i32, pathname: [*:0]const u8, mask: u32) I |
| 3690 | 3691 | ENOENT => return error.FileNotFound, |
| 3691 | 3692 | ENOMEM => return error.SystemResources, |
| 3692 | 3693 | ENOSPC => return error.UserResourceLimitReached, |
| 3694 | ENOTDIR => return error.NotDir, |
| 3693 | 3695 | else => |err| return unexpectedErrno(err), |
| 3694 | 3696 | } |
| 3695 | 3697 | } |