Constant _errno [src]

Source

pub const _errno = switch (native_os) { .linux => switch (native_abi) { .android, .androideabi => private.__errno, else => private.__errno_location, }, .emscripten => private.__errno_location, .wasi, .dragonfly => private.errnoFromThreadLocal, .windows => private._errno, .macos, .ios, .tvos, .watchos, .visionos, .freebsd => private.__error, .solaris, .illumos => private.___errno, .openbsd, .netbsd => private.__errno, .haiku => haiku._errnop, // https://github.com/SerenityOS/serenity/blob/a353ceecf13b6f156a078e32f1ddf1d21366934c/Userland/Libraries/LibC/errno.h#L33 .serenity => private.__errno_location, else => {}, }