Constant MAXNAMLEN [src]
Source
pub const MAXNAMLEN = switch (native_os) {
.netbsd, .solaris, .illumos => 511,
// https://github.com/SerenityOS/serenity/blob/1262a7d1424d0d2e89d80644409721cbf056ab17/Kernel/API/POSIX/dirent.h#L37
.haiku, .serenity => NAME_MAX,
.openbsd => 255,
else => {},
}