Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      jmp_buf

      From cppreference.com
      <c‎ |program
       
       
      Program support utilities
      Program termination
      Unreachable control flow
      Communicating with the environment
      Memory alignment query
      Signals
      Signal types
      Non-local jumps
      Types
      jmp_buf
       
      Defined in header<setjmp.h>
      typedef/* unspecified */ jmp_buf;

      Thejmp_buf type is an array type suitable for storing information to restore a calling environment. The stored information is sufficient to restore execution at the correct block of the program and invocation of that block. The state of floating-point status flags, or open files, or any other data is not stored in an object of typejmp_buf.

      [edit]References

      • C23 standard (ISO/IEC 9899:2024):
      • 7.13/2 Nonlocal jumps <setjmp.h> (p: TBD)
      • C17 standard (ISO/IEC 9899:2018):
      • 7.13/2 Nonlocal jumps <setjmp.h> (p: 191)
      • C11 standard (ISO/IEC 9899:2011):
      • 7.13/2 Nonlocal jumps <setjmp.h> (p: 262)
      • C99 standard (ISO/IEC 9899:1999):
      • 7.13/2 Nonlocal jumps <setjmp.h> (p: 243)
      • C89/C90 standard (ISO/IEC 9899:1990):
      • 4.6 NON-LOCAL JUMPS <setjmp.h>

      [edit]See also

      saves the context
      (function macro)[edit]
      jumps to specified location
      (function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=c/program/jmp_buf&oldid=180111"

      [8]ページ先頭

      ©2009-2025 Movatter.jp