Hi Aashik, Zoran,

On Fri, Sep 25, 2020 at 10:02 AM Zoran <zoran.stojsavlje...@gmail.com> wrote:
>
> > ...that I am not able to send SIGINT to commands such as Ping, tail etc.\

Aashik, how are you sending the signal? Using CTRL-C or using the
"kill" command?

>
> Please, do the following: issue in zeus xterm the command: man signal
> and read it.
>
That reads to use sigaction() instead of signal() I would assume.

> Then execute the following code (ad-hoc from the top of my head):
> <...>
> This program serves the double purpose:
> [1] Gives you the address of the old SIGINT handler which was executed
> prior execution of this code;
> [2] After execution, repeat the routine (ping) and see if <ctrl c>
> terminates the ping process.
>

Zoran, are you suggesting that program will change the signal handler
to default even after it has exited, and for the subsequent ping
command?

Regards,

Leon.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#50814): https://lists.yoctoproject.org/g/yocto/message/50814
Mute This Topic: https://lists.yoctoproject.org/mt/77073508/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to