siglongjmp.c\signal\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/signal/siglongjmp.c
blob: a7bcca2439e67575c1317bb76e4862d183b58db8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <setjmp.h>
#include <signal.h>
#include <stdlib.h>
#include "syscall.h"
#include "pthread_impl.h"
_Noreturn void siglongjmp(sigjmp_buf buf, int ret)
{
	if (buf->__fl) __restore_sigs(buf->__ss);
	longjmp(buf->__jb, ret);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月27日 06:05:30 +0000

AltStyle によって変換されたページ (->オリジナル) /