From 7855b9ad9164ae7ea99a00641f3eadb56015ffc6 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 2 Dec 2024 10:12:58 -0500 Subject: sighook: New SH_ONESHOT flag --- src/sighook.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sighook.h') diff --git a/src/sighook.h b/src/sighook.h index 3bece21..87bba4e 100644 --- a/src/sighook.h +++ b/src/sighook.h @@ -21,6 +21,8 @@ struct sighook; enum sigflags { /** Suppress the default action for this signal. */ SH_CONTINUE = 1 << 0, + /** Only run this hook once. */ + SH_ONESHOT = 1 << 1, }; /** -- cgit v1.2.3