pub fn fanotify_mark( fanotify_fd: fd_t, flags: std.os.linux.fanotify.MarkFlags, mask: std.os.linux.fanotify.MarkMask, dirfd: fd_t, pathname: ?[]const u8, ) FanotifyMarkError!void
fanotify_fd: fd_t
flags: std.os.linux.fanotify.MarkFlags
mask: std.os.linux.fanotify.MarkMask
dirfd: fd_t
pathname: ?[]const u8
577 578 579 580 581 582 583 584 585 586 587 588 589 590
pub fn fanotify_mark( fanotify_fd: fd_t, flags: std.os.linux.fanotify.MarkFlags, mask: std.os.linux.fanotify.MarkMask, dirfd: fd_t, pathname: ?[]const u8, ) FanotifyMarkError!void { if (pathname) |path| { const path_c = try toPosixPath(path); return fanotify_markZ(fanotify_fd, flags, mask, dirfd, &path_c); } else { return fanotify_markZ(fanotify_fd, flags, mask, dirfd, null); } }