- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for sa_sigaction (0.18 sec)
-
src/cmd/cgo/internal/testcarchive/testdata/main4.c
// that it is installed before the Go code starts. static void init(void) __attribute__ ((constructor (200))); static void init() { struct sigaction sa; memset(&sa, 0, sizeof sa); sa.sa_sigaction = ioHandler; if (sigemptyset(&sa.sa_mask) < 0) { die("sigemptyset"); } sa.sa_flags = SA_SIGINFO | SA_ONSTACK; if (sigaction(SIGIO, &sa, NULL) < 0) { die("sigaction"); } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 4.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main5.c
int i; struct timespec ts; verbose = argc > 2; setvbuf(stdout, NULL, _IONBF, 0); if (verbose) { fprintf(stderr, "calling sigaction\n"); } memset(&sa, 0, sizeof sa); sa.sa_sigaction = ioHandler; if (sigemptyset(&sa.sa_mask) < 0) { die("sigemptyset"); } sa.sa_flags = SA_SIGINFO; if (sigaction(SIGIO, &sa, NULL) < 0) { die("sigaction"); } if (verbose) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 3.8K bytes - Viewed (0) -
src/runtime/sys_freebsd_riscv64.s
MOV $1000000000, T2 MUL T2, T0 ADD T1, T0 MOV T0, ret+0(FP) RET // func asmSigaction(sig uintptr, new, old *sigactiont) int32 TEXT runtime·asmSigaction(SB),NOSPLIT|NOFRAME,$0 MOV sig+0(FP), A0 // arg 1 sig MOV new+8(FP), A1 // arg 2 act MOV old+16(FP), A2 // arg 3 oact MOV $SYS_sigaction, T0 ECALL BEQ T0, ZERO, ok MOV $-1, A0 ok: MOVW A0, ret+24(FP) RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 8.9K bytes - Viewed (0) -
src/runtime/sys_freebsd_arm64.s
MOVD $1000000000, R3 MUL R3, R0 ADD R2, R0 MOVD R0, ret+0(FP) RET // func asmSigaction(sig uintptr, new, old *sigactiont) int32 TEXT runtime·asmSigaction(SB),NOSPLIT|NOFRAME,$0 MOVD sig+0(FP), R0 // arg 1 sig MOVD new+8(FP), R1 // arg 2 act MOVD old+16(FP), R2 // arg 3 oact MOVD $SYS_sigaction, R8 SVC BCC ok MOVW $-1, R0 ok: MOVW R0, ret+24(FP) RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.5K bytes - Viewed (0) -
src/runtime/sigaction.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 489 bytes - Viewed (0) -
src/runtime/cgo_sigaction.go
msanwrite(unsafe.Pointer(new), unsafe.Sizeof(*new)) } if asanenabled && new != nil { asanwrite(unsafe.Pointer(new), unsafe.Sizeof(*new)) } if _cgo_sigaction == nil || inForkedChild { sysSigaction(sig, new, old) } else { // We need to call _cgo_sigaction, which means we need a big enough stack // for C. To complicate matters, we may be in libpreinit (before the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 3.3K bytes - Viewed (0) -
src/runtime/defs2_linux.go
#include <asm-generic/errno.h> #include <asm-generic/fcntl.h> #include <asm-generic/poll.h> #include <linux/eventpoll.h> // This is the sigaction structure from the Linux 2.1.68 kernel which // is used with the rt_sigaction system call. For 386 this is not // defined in any public header file. struct kernel_sigaction { __sighandler_t k_sa_handler; unsigned long sa_flags; void (*sa_restorer) (void); unsigned long long sa_mask;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 07 18:28:11 UTC 2022 - 3.2K bytes - Viewed (0) -
src/runtime/sys_freebsd_386.s
#define SYS___sysctl 202 #define SYS_clock_gettime 232 #define SYS_nanosleep 240 #define SYS_issetugid 253 #define SYS_sched_yield 331 #define SYS_sigprocmask 340 #define SYS_kqueue 362 #define SYS_sigaction 416 #define SYS_sigreturn 417 #define SYS_thr_exit 431 #define SYS_thr_self 432 #define SYS_thr_kill 433 #define SYS__umtx_op 454 #define SYS_thr_new 455 #define SYS_mmap 477
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.4K bytes - Viewed (0) -
src/runtime/sys_openbsd_mips64.s
RET TEXT runtime·sigaction(SB),NOSPLIT,$0 MOVW sig+0(FP), R4 // arg 1 - signum MOVV new+8(FP), R5 // arg 2 - new sigaction MOVV old+16(FP), R6 // arg 3 - old sigaction MOVV $46, R2 // sys_sigaction SYSCALL BEQ R7, 3(PC) MOVV $3, R2 // crash on syscall failure MOVV R2, (R2) RET TEXT runtime·obsdsigprocmask(SB),NOSPLIT,$0 MOVW how+0(FP), R4 // arg 1 - mode
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 8.8K bytes - Viewed (0)