sigaction Questions

2

Solved

I'm trying to write a signal handler which needs to know the pid of the process that sends the signal. I'm having no luck with getting anything useful from the siginfo_t passed into my handler on m...
Rascality asked 20/11, 2018 at 19:8

1

Solved

I know how to use it in C (with signal.h), but the <csignal> library is provided in C++ and I want to know if it includes sigaction? I tried running it but it said not found. I was wondering ...
Doy asked 19/8, 2018 at 18:3

2

Solved

I am playing around with signals in C. My main function basically asks for some input using fgets(name, 30, stdin), and then sits there and waits. I set an alarm with alarm(3), and I reassigned SIG...
Etna asked 10/9, 2017 at 22:45

2

Solved

I am trying to port caffe (developed for Linux) source code to Windows environment. The problem is at sigaction structure at signal_handler.cpp and signal_handler.h. The source codes are shown belo...
Dinadinah asked 4/9, 2015 at 4:8
1

© 2022 - 2024 — McMap. All rights reserved.