mirror of
https://github.com/troglobit/finit.git
synced 2026-10-21 11:29:42 +00:00
Added implementation for the new command INIT_CMD_SIGNAL.
The implementation looks up the named service by using `svc_parse_jobstr`. The callbacks for `svc_parse_jobstr` has been augmented to accept a user data parameter. For this use case, a carrier for the actual signal was needed. The address of the signal parameter is taken and passed on as a `void *`. The callback then simply deferences it as an int - the signal number.
This commit is contained in:
1 parent
62da379472
commit
4121113688
4 files changed
+50
-20
No files matched your search
+1
-1
@@ -47,4 +47,4 @@ GTAGS
|
||||
/.built
|
||||
|
||||
# VS Code user settings
|
||||
.vscode
|
||||
.vscode
|
||||
Reference in new issue
Block a user