Skip to content

quick_exit is not _Exit / _exit #92977

@frobtech

Description

@frobtech

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions