Shutdown signals

Tim tim.oliver at tutanota.com
Mon May 10 23:35:06 UTC 2021


On Monday, 10 May 2021 at 23:31:11 UTC, Adam D. Ruppe wrote:
> 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.

I can't find that in the docs, nor in dpldocs. Can you help out 
with this?


More information about the Digitalmars-d-learn mailing list