<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/92977>92977</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            quick_exit is not _Exit / _exit
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            libc
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          frobtech
      </td>
    </tr>
</table>

<pre>
    Currently llvm-libc's actual OS-specific exit code is implemented as `quick_exit`, and `_Exit` and `_exit` call that.  This is backwards.  `_Exit` (C11 name) and `_exit` (POSIX name) are the underlying OS-specific thing (in Unix, the system call).  `quick_exit` is the new C11 function that runs `at_quick_exit` hooks and then calls `_Exit`.

llvm-libc is missing `at_quick_exit` entirely.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxskkGPmzAQhX-NuYyCzDgJ4cBhmy1ST1tpW6m3yDZDcGNMapvu5t9XdqJNo_YC4unN43v2yBDM0RG1bPOJbZ4LucRx9u3gZxVJj4Wa-0u7X7wnF-0FrP09raxRmmEdQOq4SAsvr6twJm0Go4HeTQQ99wQmgJnOliZykXqQAdiW_1qMPh2SiW05wz1I1yf98PkqfXzfLKCltRBHGUuAb2PKDKCkPr1J34cSHmYZ7vZVBU5OxLD5J4rh7uvL65cfd4MniCPB4nry9mLc8aFKHJPCcGccfHfmPeEme7iESFMmY9hcGR56JcZkdPQGCWhYnI5mdrkH-MXlo5Dx8Dg1zvMpZOo4ksv54e9-JePPjD9dnx8XkX42mRAy639SyUXjyV5u00Xfir4RjSyorepqK8SO86oYW4GiEhViLwdRq0aKQdWkaymHZqj4oArTIsc13yByLgRWpVzXtVrX1aaXjdpWPVtzmqSxZWIrZ38sTAgLtQ02dV1YqciGvGaI1w3CtHC-zVXUcgxsza0JMdwDoomW2nuhVNbNEfKRAMMOslws3rZjjOfAxBPDjmF3NHFcVKnniWGX8m6v1dnPP0lHhl2mCwy7DPgnAAD__7gK-j8">