LibC: Implement the _Exit function

libstdc++v3 checks whether this function is available and makes
certain functions available in the std namespace if so.
This commit is contained in:
Gunnar Beutner
2021-05-08 20:46:06 +02:00
committed by Andreas Kling
parent 4c6a91d0c0
commit 9ffc2fe840
2 changed files with 6 additions and 0 deletions

View File

@@ -1180,3 +1180,8 @@ int unlockpt([[maybe_unused]] int fd)
return 0;
}
}
void _Exit(int status)
{
_exit(status);
}