Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Android/bionic/bionic/tests/headers/posix/   (Android Betriebssystem Version 17©)  Datei vom 26.5.2026 mit Größe 750 B image not shown  

Quelle  setjmp_h.c

  Sprache: C
 

// Copyright (C) 2017 The Android Open Source Project
// SPDX-License-Identifier: BSD-2-Clause

#include <setjmp.h>

#include "header_checks.h"

// POSIX says it's undefined whether `setjmp` is a macro or a function,
// but C11 says it's a macro, and the C standard always wins.
#if !defined(setjmp)
#error setjmp
#endif

static void setjmp_h() {
  TYPE(jmp_buf);
  TYPE(sigjmp_buf);

  FUNCTION(_longjmp, void (*f)(jmp_buf, int));
  FUNCTION(longjmp, void (*f)(jmp_buf, int));
  FUNCTION(siglongjmp, void (*f)(sigjmp_buf, int));

  FUNCTION(_setjmp, int (*f)(jmp_buf));
  FUNCTION(setjmp, int (*f)(jmp_buf));
#if defined(__GLIBC__)
  FUNCTION(__sigsetjmp, int (*f)(sigjmp_buf, int));
#else
  FUNCTION(sigsetjmp, int (*f)(sigjmp_buf, int));
#endif
}

Messung V0.5 in Prozent
C=86 H=96 G=90

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-06-28) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.