OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [siglongjmp.c] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/* libc/sys/linux/siglongjmp.c - siglongjmp function */
2
 
3
/* Copyright 2002, Red Hat Inc. */
4
 
5
 
6
#include <setjmp.h>
7
#include <signal.h>
8
#include <machine/weakalias.h>
9
 
10
void
11
__libc_siglongjmp (sigjmp_buf env, int val)
12
{
13
  if (env.__is_mask_saved)
14
    sigprocmask (SIG_SETMASK, &env.__saved_mask, NULL);
15
 
16
  __libc_longjmp (env.__buf, val);
17
}
18
weak_alias(__libc_siglongjmp,siglongjmp);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.