Shutdown signals

Adam D. Ruppe destructionator at gmail.com
Mon May 10 23:31:11 UTC 2021


On Monday, 10 May 2021 at 23:20:47 UTC, Tim wrote:
> Hi all,
>
> How can I get a D program to detect something a keyboard 
> interrupt so I shut things down in a specific way?

import core.sys.posix.signal; then you can use the same functions 
as C to set signal handlers.


More information about the Digitalmars-d-learn mailing list