122 lines
4.1 KiB
HTML
122 lines
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="MontaukOS status codes">
|
|
<title>Status codes - MontaukOS</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
font-family: 'Open Sans', Arial, sans-serif;
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 1em;
|
|
line-height: 1.5;
|
|
display: flex;
|
|
gap: 2em;
|
|
}
|
|
p { margin: 0 0 0.75em; }
|
|
h2 { margin: 1.25em 0 0.5em; }
|
|
.sidebar { width: 160px; flex-shrink: 0; }
|
|
.sidebar ul { list-style: none; padding: 0; }
|
|
.sidebar li { margin: 0.5em 0; }
|
|
.sidebar a { color: #0066CC; text-decoration: none; font-weight: 600; }
|
|
.sidebar a:hover { color: #004499; text-decoration: underline; }
|
|
.sidebar .current { color: #004499; }
|
|
.sidebar hr { border: none; border-top: 1px solid #999; margin: 0.75em 0; }
|
|
.main { flex: 1; min-width: 0; }
|
|
a { color: #0000EE; }
|
|
a:visited { color: #0066CC; }
|
|
hr { border-style: solid; border-width: 1px 0 0 0; border-color: #999; }
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
margin: 0.5em 0;
|
|
}
|
|
th, td {
|
|
border: 1px solid #999;
|
|
padding: 0.35em 0.5em;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
th { background: #f0f0f0; }
|
|
th:first-child, td:first-child {
|
|
width: 8em;
|
|
white-space: nowrap;
|
|
}
|
|
.center { text-align: center; }
|
|
@media (max-width: 700px) {
|
|
body { flex-direction: column; gap: 1em; padding: 1em 0.75em; }
|
|
.sidebar { width: auto; }
|
|
.sidebar ul { display: flex; flex-wrap: wrap; gap: 0 1em; }
|
|
.sidebar hr { width: 100%; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="sidebar">
|
|
<ul>
|
|
<li><a href="../../index.html">Home</a></li>
|
|
<li><a href="../../downloads.html">Downloads</a></li>
|
|
<li><a href="../../history.html">History</a></li>
|
|
<li><a href="../index.html">Documentation</a></li>
|
|
<li><a href="https://git.montaukos.org/daniel/MontaukOS/issues">Issue tracker</a></li>
|
|
<li><a href="https://git.montaukos.org/daniel/MontaukOS">Git</a></li>
|
|
</ul>
|
|
<hr>
|
|
<ul>
|
|
<li><a href="index.html">Application Programming Manual</a></li>
|
|
<li><a href="status-codes.html" class="current">Status codes</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="main">
|
|
<div class="center">
|
|
<h1>Status codes</h1>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<p>The following table is a reference to the numerical status codes returned by the MontaukOS system and applications.</p>
|
|
|
|
<table>
|
|
<colgroup>
|
|
<col style="width: 8em">
|
|
<col>
|
|
</colgroup>
|
|
<thead>
|
|
<tr><th>Code</th><th>Text</th><th>Explanation</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>0</td><td>Success</td><td></td></tr>
|
|
<tr><td>(-)1</td><td>Generic failure</td><td></td></tr>
|
|
<tr><td>(-)2</td><td>Permission denied</td><td></td></tr>
|
|
<tr><td>(-)3</td><td>Capability denied</td><td></td></tr>
|
|
<tr><td>(-)4</td><td>System integrity error</td><td>The path is protected by the system and can't be modified.</td></tr>
|
|
<tr><td>(-)5</td><td>Bad pointer</td><td></td></tr>
|
|
<tr><td>(-)6</td><td>Invalid argument</td><td></td></tr>
|
|
<tr><td>(-)7</td><td>Unsupported operation</td><td></td></tr>
|
|
<tr><td>(-)8</td><td>No device</td><td></td></tr>
|
|
<tr><td>(-)9</td><td>I/O failure</td><td></td></tr>
|
|
<tr><td>(-)10</td><td>Bad invocation</td><td></td></tr>
|
|
<tr><td>(-)11</td><td>No such path</td><td></td></tr>
|
|
<tr><td>(-)12</td><td>Busy</td><td></td></tr>
|
|
<tr><td>(-)13</td><td>Buffer too small</td><td>The buffer supplied by the caller is too small.</td></tr>
|
|
<tr><td>(-)14</td><td>Out of memory</td><td></td></tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<hr>
|
|
|
|
<div class="center">
|
|
<a href="../index.html">Back to Documentation Index</a>
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|