Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

E

emscripten.E
pub const E = enum(u16)

File

lib/std/os/emscripten.zig:30

Code

pub const E = enum(u16) {
    SUCCESS = @backingInt(wasi.errno_t.SUCCESS),
    @"2BIG" = @backingInt(wasi.errno_t.@"2BIG"),
    ACCES = @backingInt(wasi.errno_t.ACCES),
    ADDRINUSE = @backingInt(wasi.errno_t.ADDRINUSE),
    ADDRNOTAVAIL = @backingInt(wasi.errno_t.ADDRNOTAVAIL),
    AFNOSUPPORT = @backingInt(wasi.errno_t.AFNOSUPPORT),
    /// This is also the error code used for `WOULDBLOCK`.
    AGAIN = @backingInt(wasi.errno_t.AGAIN),
    ALREADY = @backingInt(wasi.errno_t.ALREADY),
    BADF = @backingInt(wasi.errno_t.BADF),
    BADMSG = @backingInt(wasi.errno_t.BADMSG),
    BUSY = @backingInt(wasi.errno_t.BUSY),
    CANCELED = @backingInt(wasi.errno_t.CANCELED),
    CHILD = @backingInt(wasi.errno_t.CHILD),
    CONNABORTED = @backingInt(wasi.errno_t.CONNABORTED),
    CONNREFUSED = @backingInt(wasi.errno_t.CONNREFUSED),
    CONNRESET = @backingInt(wasi.errno_t.CONNRESET),
    DEADLK = @backingInt(wasi.errno_t.DEADLK),
    DESTADDRREQ = @backingInt(wasi.errno_t.DESTADDRREQ),
    DOM = @backingInt(wasi.errno_t.DOM),
    DQUOT = @backingInt(wasi.errno_t.DQUOT),
    EXIST = @backingInt(wasi.errno_t.EXIST),
    FAULT = @backingInt(wasi.errno_t.FAULT),
    FBIG = @backingInt(wasi.errno_t.FBIG),
    HOSTUNREACH = @backingInt(wasi.errno_t.HOSTUNREACH),
    IDRM = @backingInt(wasi.errno_t.IDRM),
    ILSEQ = @backingInt(wasi.errno_t.ILSEQ),
    INPROGRESS = @backingInt(wasi.errno_t.INPROGRESS),
    INTR = @backingInt(wasi.errno_t.INTR),
    INVAL = @backingInt(wasi.errno_t.INVAL),
    IO = @backingInt(wasi.errno_t.IO),
    ISCONN = @backingInt(wasi.errno_t.ISCONN),
    ISDIR = @backingInt(wasi.errno_t.ISDIR),
    LOOP = @backingInt(wasi.errno_t.LOOP),
    MFILE = @backingInt(wasi.errno_t.MFILE),
    MLINK = @backingInt(wasi.errno_t.MLINK),
    MSGSIZE = @backingInt(wasi.errno_t.MSGSIZE),
    MULTIHOP = @backingInt(wasi.errno_t.MULTIHOP),
    NAMETOOLONG = @backingInt(wasi.errno_t.NAMETOOLONG),
    NETDOWN = @backingInt(wasi.errno_t.NETDOWN),
    NETRESET = @backingInt(wasi.errno_t.NETRESET),
    NETUNREACH = @backingInt(wasi.errno_t.NETUNREACH),
    NFILE = @backingInt(wasi.errno_t.NFILE),
    NOBUFS = @backingInt(wasi.errno_t.NOBUFS),
    NODEV = @backingInt(wasi.errno_t.NODEV),
    NOENT = @backingInt(wasi.errno_t.NOENT),
    NOEXEC = @backingInt(wasi.errno_t.NOEXEC),
    NOLCK = @backingInt(wasi.errno_t.NOLCK),
    NOLINK = @backingInt(wasi.errno_t.NOLINK),
    NOMEM = @backingInt(wasi.errno_t.NOMEM),
    NOMSG = @backingInt(wasi.errno_t.NOMSG),
    NOPROTOOPT = @backingInt(wasi.errno_t.NOPROTOOPT),
    NOSPC = @backingInt(wasi.errno_t.NOSPC),
    NOSYS = @backingInt(wasi.errno_t.NOSYS),
    NOTCONN = @backingInt(wasi.errno_t.NOTCONN),
    NOTDIR = @backingInt(wasi.errno_t.NOTDIR),
    NOTEMPTY = @backingInt(wasi.errno_t.NOTEMPTY),
    NOTRECOVERABLE = @backingInt(wasi.errno_t.NOTRECOVERABLE),
    NOTSOCK = @backingInt(wasi.errno_t.NOTSOCK),
    /// This is also the code used for `NOTSUP`.
    OPNOTSUPP = @backingInt(wasi.errno_t.OPNOTSUPP),
    NOTTY = @backingInt(wasi.errno_t.NOTTY),
    NXIO = @backingInt(wasi.errno_t.NXIO),
    OVERFLOW = @backingInt(wasi.errno_t.OVERFLOW),
    OWNERDEAD = @backingInt(wasi.errno_t.OWNERDEAD),
    PERM = @backingInt(wasi.errno_t.PERM),
    PIPE = @backingInt(wasi.errno_t.PIPE),
    PROTO = @backingInt(wasi.errno_t.PROTO),
    PROTONOSUPPORT = @backingInt(wasi.errno_t.PROTONOSUPPORT),
    PROTOTYPE = @backingInt(wasi.errno_t.PROTOTYPE),
    RANGE = @backingInt(wasi.errno_t.RANGE),
    ROFS = @backingInt(wasi.errno_t.ROFS),
    SPIPE = @backingInt(wasi.errno_t.SPIPE),
    SRCH = @backingInt(wasi.errno_t.SRCH),
    STALE = @backingInt(wasi.errno_t.STALE),
    TIMEDOUT = @backingInt(wasi.errno_t.TIMEDOUT),
    TXTBSY = @backingInt(wasi.errno_t.TXTBSY),
    XDEV = @backingInt(wasi.errno_t.XDEV),
    NOTCAPABLE = @backingInt(wasi.errno_t.NOTCAPABLE),

    ENOSTR = 100,
    EBFONT = 101,
    EBADSLT = 102,
    EBADRQC = 103,
    ENOANO = 104,
    ENOTBLK = 105,
    ECHRNG = 106,
    EL3HLT = 107,
    EL3RST = 108,
    ELNRNG = 109,
    EUNATCH = 110,
    ENOCSI = 111,
    EL2HLT = 112,
    EBADE = 113,
    EBADR = 114,
    EXFULL = 115,
    ENODATA = 116,
    ETIME = 117,
    ENOSR = 118,
    ENONET = 119,
    ENOPKG = 120,
    EREMOTE = 121,
    EADV = 122,
    ESRMNT = 123,
    ECOMM = 124,
    EDOTDOT = 125,
    ENOTUNIQ = 126,
    EBADFD = 127,
    EREMCHG = 128,
    ELIBACC = 129,
    ELIBBAD = 130,
    ELIBSCN = 131,
    ELIBMAX = 132,
    ELIBEXEC = 133,
    ERESTART = 134,
    ESTRPIPE = 135,
    EUSERS = 136,
    ESOCKTNOSUPPORT = 137,
    EOPNOTSUPP = 138,
    EPFNOSUPPORT = 139,
    ESHUTDOWN = 140,
    ETOOMANYREFS = 141,
    EHOSTDOWN = 142,
    EUCLEAN = 143,
    ENOTNAM = 144,
    ENAVAIL = 145,
    EISNAM = 146,
    EREMOTEIO = 147,
    ENOMEDIUM = 148,
    EMEDIUMTYPE = 149,
    ENOKEY = 150,
    EKEYEXPIRED = 151,
    EKEYREVOKED = 152,
    EKEYREJECTED = 153,
    ERFKILL = 154,
    EHWPOISON = 155,
    EL2NSYNC = 156,
    _,
}