diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-12-02 10:12:58 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-12-02 16:34:26 -0500 |
commit | 7855b9ad9164ae7ea99a00641f3eadb56015ffc6 (patch) | |
tree | 60dae2d5975a0c699779fc57308eee0c337d4410 /src/sighook.h | |
parent | 9606eabd82e6523ffb8ab8b3eeb405f24e3e2346 (diff) | |
download | bfs-7855b9ad9164ae7ea99a00641f3eadb56015ffc6.tar.xz |
sighook: New SH_ONESHOT flag
Diffstat (limited to 'src/sighook.h')
-rw-r--r-- | src/sighook.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, }; /** |