{ "Syscalls": [ { "Id": 0, "Name": "r0", "Ret": [ "int64_t" ] }, { "Id": 2, "Args": [ "char*", "char*", "int32_t" ], "Name": "bind", "Ret": [ "int32_t" ] }, { "Id": 3, "Args": [ "char*" ], "Name": "chdir", "Ret": [ "int32_t" ] }, { "Id": 4, "Args": [ "int32_t" ], "Name": "close", "Ret": [ "int32_t" ] }, { "Id": 5, "Args": [ "int32_t", "int32_t" ], "Name": "dup", "Ret": [ "int32_t" ] }, { "Id": 6, "Args": [ "uint64_t" ], "Name": "alarm", "Ret": [ "int64_t" ] }, { "Id": 7, "Args": [ "char*", "char**" ], "Name": "exec", "Ret": [ "void*" ] }, { "Id": 8, "Args": [ "char*" ], "Libname": "_exits", "Name": "exits", "Ret": [ "int32_t" ] }, { "Id": 10, "Name": "fauth", "Ret": [ "int32_t" ] }, { "Id": 12, "Name": "segbrk", "Ret": [ "void*" ] }, { "Id": 14, "Args": [ "char*", "int32_t" ], "Name": "open", "Ret": [ "int32_t" ] }, { "Id": 19, "Args": [ "int32_t" ], "Name": "rfork", "Ret": [ "int32_t" ] }, { "Id": 21, "Args": [ "int32_t*" ], "Name": "pipe", "Ret": [ "int32_t" ] }, { "Id": 22, "Args": [ "char*", "int32_t", "int32_t" ], "Name": "create", "Ret": [ "int32_t" ] }, { "Id": 23, "Args": [ "int32_t", "char*", "uint32_t" ], "Name": "fd2path", "Ret": [ "int32_t" ] }, { "Id": 24, "Args": [ "void*" ], "Name": "brk_", "Ret": [ "void*" ] }, { "Id": 25, "Args": [ "char*" ], "Name": "remove", "Ret": [ "int32_t" ] }, { "Id": 28, "Args": [ "void*" ], "Name": "notify", "Ret": [ "int32_t" ] }, { "Id": 29, "Args": [ "int32_t" ], "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" ] }, { "Id": 34, "Args": [ "void*" ], "Name": "rendezvous", "Ret": [ "void*" ] }, { "Id": 35, "Args": [ "char*", "char*" ], "Name": "unmount", "Ret": [ "int32_t" ] }, { "Id": 37, "Args": [ "int32_t*", "int32_t" ], "Name": "semacquire", "Ret": [ "int32_t" ] }, { "Id": 38, "Args": [ "int32_t*", "int32_t" ], "Name": "semrelease", "Ret": [ "int32_t" ] }, { "Id": 39, "Args": [ "int64_t*", "int32_t", "int64_t", "int32_t" ], "Name": "seek", "Ret": [ "int64_t" ] }, { "Id": 40, "Name": "fversion", "Ret": [ "int32_t" ] }, { "Id": 41, "Args": [ "char*", "uint32_t" ], "Name": "errstr", "Ret": [ "int32_t" ] }, { "Id": 42, "Args": [ "char*", "uint8_t*", "uint32_t" ], "Name": "stat", "Ret": [ "int32_t" ] }, { "Id": 43, "Args": [ "int32_t", "uint8_t*", "uint32_t" ], "Name": "fstat", "Ret": [ "int32_t" ] }, { "Id": 44, "Args": [ "char*", "uint8_t*", "uint32_t" ], "Name": "wstat", "Ret": [ "int32_t" ] }, { "Id": 45, "Args": [ "int32_t", "uint8_t*", "uint32_t" ], "Name": "fwstat", "Ret": [ "int32_t" ] }, { "Id": 46, "Args": [ "int32_t", "char*", "int32_t", "char*" ], "Name": "mount", "Ret": [ "int32_t" ] }, { "Id": 47, "Args": [ "char*", "int32_t" ], "Name": "await", "Ret": [ "int32_t" ] }, { "Id": 50, "Args": [ "int32_t", "void*", "int32_t", "int64_t" ], "Name": "pread", "Ret": [ "int32_t" ] }, { "Id": 51, "Args": [ "int32_t", "void*", "int32_t", "int64_t" ], "Name": "pwrite", "Ret": [ "int32_t" ] }, { "Id": 17, "Args": [ "int64_t" ], "Name": "sleep", "Ret": [ "int32_t" ] }, { "Id": 52, "Args": [ "int32_t*", "uint64_t" ], "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" } ], "Bootmethods": [ { "Name": "tcp", "Config": "configtcp", "Connect": "connecttcp", "Arg": "" }, { "Name": "rc", "Config": "configrc", "Connect": "connectrc", "Arg": "" }, { "Name": "local", "Config": "configlocal", "Connect": "connectlocal", "Arg": "" } ] }