[libc-commits] [libc] [libc] at_quick_exit function implemented (PR #94317)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Wed Jun 5 11:27:27 PDT 2024
================
@@ -0,0 +1,17 @@
+//===-- Implementation header for at_quick_exit -----------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC_STDLIB_AT_QUICK_EXIT_H
+#define LLVM_LIBC_SRC_STDLIB_AT_QUICK_EXIT_H
+
+namespace LIBC_NAMESPACE {
+
+int at_quick_exit(void (*function)());
----------------
michaelrj-google wrote:
this should include the proxy header for `__atexithandler_t` and use it in the function prototype
https://github.com/llvm/llvm-project/pull/94317
More information about the libc-commits
mailing list