{ "Bootmethods": [ { "Arg": "", "Config": "configtcp", "Connect": "connecttcp", "Name": "tcp" }, { "Arg": "", "Config": "configrc", "Connect": "connectrc", "Name": "rc" }, { "Arg": "", "Config": "configlocal", "Connect": "connectlocal", "Name": "local" } ], "Syscalls": [ { "Id": 0, "Name": "r0", "Ret": [ "int64_t" ] }, { "Args": [ "char*", "char*", "int32_t" ], "Id": 2, "Name": "bind", "Ret": [ "int32_t" ] }, { "Args": [ "char*" ], "Id": 3, "Name": "chdir", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t" ], "Id": 4, "Name": "close", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t", "int32_t" ], "Id": 5, "Name": "dup", "Ret": [ "int32_t" ] }, { "Args": [ "uint64_t" ], "Id": 6, "Name": "alarm", "Ret": [ "int64_t" ] }, { "Args": [ "char*", "char**" ], "Id": 7, "Name": "exec", "Ret": [ "void*" ] }, { "Args": [ "char*" ], "Id": 8, "Libname": "_exits", "Name": "exits", "Ret": [ "int32_t" ] }, { "Id": 10, "Name": "fauth", "Ret": [ "int32_t" ] }, { "Id": 12, "Name": "segbrk", "Ret": [ "void*" ] }, { "Args": [ "char*", "int32_t" ], "Id": 14, "Name": "open", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t" ], "Id": 19, "Name": "rfork", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t*" ], "Id": 21, "Name": "pipe", "Ret": [ "int32_t" ] }, { "Args": [ "char*", "int32_t", "int32_t" ], "Id": 22, "Name": "create", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t", "char*", "uint32_t" ], "Id": 23, "Name": "fd2path", "Ret": [ "int32_t" ] }, { "Args": [ "void*" ], "Id": 24, "Name": "brk_", "Ret": [ "void*" ] }, { "Args": [ "char*" ], "Id": 25, "Name": "remove", "Ret": [ "int32_t" ] }, { "Args": [ "void*" ], "Id": 28, "Name": "notify", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t" ], "Id": 29, "Name": "noted", "Ret": [ "int32_t" ] }, { "Id": 30, "Name": "segattach", "Ret": [ "void*" ] }, { "Id": 31, "Name": "segdetach", "Ret": [ "int32_t" ] }, { "Id": 32, "Name": "segfree", "Ret": [ "int32_t" ] }, { "Id": 33, "Name": "segflush", "Ret": [ "int32_t" ] }, { "Args": [ "void*" ], "Id": 34, "Name": "rendezvous", "Ret": [ "void*" ] }, { "Args": [ "char*", "char*" ], "Id": 35, "Name": "unmount", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t*", "int32_t" ], "Id": 37, "Name": "semacquire", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t*", "int32_t" ], "Id": 38, "Name": "semrelease", "Ret": [ "int32_t" ] }, { "Args": [ "int64_t*", "int32_t", "int64_t", "int32_t" ], "Id": 39, "Name": "seek", "Ret": [ "int64_t" ] }, { "Id": 40, "Name": "fversion", "Ret": [ "int32_t" ] }, { "Args": [ "char*", "uint32_t" ], "Id": 41, "Name": "errstr", "Ret": [ "int32_t" ] }, { "Args": [ "char*", "uint8_t*", "uint32_t" ], "Id": 42, "Name": "stat", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t", "uint8_t*", "uint32_t" ], "Id": 43, "Name": "fstat", "Ret": [ "int32_t" ] }, { "Args": [ "char*", "uint8_t*", "uint32_t" ], "Id": 44, "Name": "wstat", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t", "uint8_t*", "uint32_t" ], "Id": 45, "Name": "fwstat", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t", "char*", "int32_t", "char*" ], "Id": 46, "Name": "mount", "Ret": [ "int32_t" ] }, { "Args": [ "char*", "int32_t" ], "Id": 47, "Name": "await", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t", "void*", "int32_t", "int64_t" ], "Id": 50, "Name": "pread", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t", "void*", "int32_t", "int64_t" ], "Id": 51, "Name": "pwrite", "Ret": [ "int32_t" ] }, { "Args": [ "int64_t" ], "Id": 17, "Name": "sleep", "Ret": [ "int32_t" ] }, { "Args": [ "int32_t*", "uint64_t" ], "Id": 52, "Name": "tsemacquire", "Ret": [ "int32_t" ] }, { "Id": 53, "Name": "nsec", "Ret": [ "int64_t" ] } ], "Syserrors": [ { "Id": 0, "Name": "Ebadarg", "String": "bad arg in system call" }, { "Id": 1, "Name": "Ebadchar", "String": "bad character in file name" }, { "Id": 2, "Name": "Ebadctl", "String": "bad process or channel control request" }, { "Id": 3, "Name": "Ebadexec", "String": "exec header invalid" }, { "Id": 4, "Name": "Ebadfd", "String": "fd out of range or not open" }, { "Id": 5, "Name": "Ebadip", "String": "bad ip address syntax" }, { "Id": 6, "Name": "Ebadsharp", "String": "unknown device in # filename" }, { "Id": 7, "Name": "Ebadspec", "String": "bad attach specifier" }, { "Id": 8, "Name": "Ebadstat", "String": "malformed stat buffer" }, { "Id": 9, "Name": "Ebadusefd", "String": "inappropriate use of fd" }, { "Id": 10, "Name": "Ecmdargs", "String": "wrong #args in control message" }, { "Id": 11, "Name": "Econinuse", "String": "connection in use" }, { "Id": 12, "Name": "Econrefused", "String": "connection refused" }, { "Id": 13, "Name": "Edirseek", "String": "seek in directory" }, { "Id": 14, "Name": "Eexist", "String": "file already exists" }, { "Id": 15, "Name": "Efilename", "String": "file name syntax" }, { "Id": 16, "Name": "Egreg", "String": "ken has left the building" }, { "Id": 17, "Name": "Ehungup", "String": "i/o on hungup channel" }, { "Id": 18, "Name": "Eintr", "String": "interrupted" }, { "Id": 19, "Name": "Einuse", "String": "device or object already in use" }, { "Id": 20, "Name": "Eio", "String": "i/o error" }, { "Id": 21, "Name": "Eioload", "String": "i/o error in demand load" }, { "Id": 22, "Name": "Eisdir", "String": "file is a directory" }, { "Id": 23, "Name": "Eismtpt", "String": "is a mount point" }, { "Id": 24, "Name": "Eisstream", "String": "seek on a stream" }, { "Id": 25, "Name": "Emount", "String": "inconsistent mount" }, { "Id": 26, "Name": "Emountrpc", "String": "mount rpc error" }, { "Id": 27, "Name": "Emouseset", "String": "mount rpc error" }, { "Id": 28, "Name": "Enegoff", "String": "negative i/o offset" }, { "Id": 29, "Name": "Enoattach", "String": "mount/attach disallowed" }, { "Id": 30, "Name": "Enochild", "String": "no living children" }, { "Id": 31, "Name": "Enocreate", "String": "mounted directory forbids creation" }, { "Id": 32, "Name": "Enodev", "String": "no free devices" }, { "Id": 33, "Name": "Enoerror", "String": "no error" }, { "Id": 34, "Name": "Enofd", "String": "no free file descriptors" }, { "Id": 35, "Name": "Enomem", "String": "kernel allocate failed" }, { "Id": 36, "Name": "Enonexist", "String": "file does not exist" }, { "Id": 37, "Name": "Enoport", "String": "network port not available" }, { "Id": 38, "Name": "Enoreg", "String": "process has no saved registers" }, { "Id": 39, "Name": "Enoswap", "String": "swap space full" }, { "Id": 40, "Name": "Enotdir", "String": "not a directory" }, { "Id": 41, "Name": "Enovmem", "String": "virtual memory allocation failed" }, { "Id": 42, "Name": "Eperm", "String": "permission denied" }, { "Id": 43, "Name": "Eprocdied", "String": "process exited" }, { "Id": 44, "Name": "Eshort", "String": "i/o count too small" }, { "Id": 45, "Name": "Eshortstat", "String": "stat buffer too small" }, { "Id": 46, "Name": "Eshutdown", "String": "device shut down" }, { "Id": 47, "Name": "Esoverlap", "String": "segments overlap" }, { "Id": 48, "Name": "Etimedout", "String": "connection timed out" }, { "Id": 49, "Name": "Etoobig", "String": "read or write too large" }, { "Id": 50, "Name": "Etoosmall", "String": "read or write too small" }, { "Id": 51, "Name": "Eunion", "String": "not in union" }, { "Id": 52, "Name": "Eunmount", "String": "not mounted" } ] }