Back to index

glibc  2.9
longjmp.c File Reference
#include <shlib-compat.h>
#include <stddef.h>
#include <setjmp.h>
#include <signal.h>

Go to the source code of this file.


void __vmx__longjmp (__jmp_buf __env, int __val) __attribute__((noreturn))
void __vmx__libc_longjmp (sigjmp_buf env, int val) __attribute__((noreturn))
 libc_hidden_proto (__vmx__libc_longjmp)

Function Documentation

void __vmx__libc_longjmp ( sigjmp_buf  env,
int  val 
void __vmx__longjmp ( __jmp_buf  __env,
int  __val 

Here is the caller graph for this function:

Definition at line 31 of file longjmp.c.

  /* Perform any cleanups needed by the frames being unwound.  */
  _longjmp_unwind (env, val);

  if (env[0].__mask_was_saved)
    /* Restore the saved signal mask.  */
    (void) __sigprocmask (SIG_SETMASK, &env[0].__saved_mask,
                       (sigset_t *) NULL);

  /* Call the machine-dependent function to restore machine state.  */
  __vmx__longjmp (env[0].__jmpbuf, val ?: 1);

Here is the call graph for this function: