| ... | ... | @@ -3652,6 +3652,7 @@ pub const INotifyAddWatchError = error{ |
| 3652 | 3652 | FileNotFound, |
| 3653 | 3653 | SystemResources, |
| 3654 | 3654 | UserResourceLimitReached, |
| 3655 | NotDir, |
| 3655 | 3656 | } || UnexpectedError; |
| 3656 | 3657 | |
| 3657 | 3658 | /// add a watch to an initialized inotify instance |
| ... | ... | @@ -3675,6 +3676,7 @@ pub fn inotify_add_watchZ(inotify_fd: i32, pathname: [*:0]const u8, mask: u32) I |
| 3675 | 3676 | ENOENT => return error.FileNotFound, |
| 3676 | 3677 | ENOMEM => return error.SystemResources, |
| 3677 | 3678 | ENOSPC => return error.UserResourceLimitReached, |
| 3679 | ENOTDIR => return error.NotDir, |
| 3678 | 3680 | else => |err| return unexpectedErrno(err), |
| 3679 | 3681 | } |
| 3680 | 3682 | } |