sigsetjmp_tail.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/sigsetjmp_tail.c
blob: f2aa28878e47f064003ec072fce86e5b9c886ffd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <setjmp.h>
#include <signal.h>
#include "syscall.h"
hidden int __sigsetjmp_tail(sigjmp_buf jb, int ret)
{
	void *p = jb->__ss;
	__syscall(SYS_rt_sigprocmask, SIG_SETMASK, ret?p:0, ret?0:p, _NSIG/8);
	return ret;
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月07日 01:33:51 +0000

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