brintos

brintos / llvm-project-archived public Read only

0
0
Text · 697 B · e9dfb3f Raw
19 lines · cpp
1//===-- Implementation of sigsetjmp ---------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#include "src/setjmp/sigsetjmp.h"10#include "hdr/offsetof_macros.h"11#include "src/__support/common.h"12 13namespace LIBC_NAMESPACE_DECL {14[[gnu::returns_twice]] int sigsetjmp(jmp_buf sigjmp_buf,15                                     [[maybe_unused]] int savesigs) {16  return setjmp(sigjmp_buf);17}18} // namespace LIBC_NAMESPACE_DECL19