A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sigtrap/sigtrap below:

sigtrap/sigtrap: Unix utility to execute a command when a specified signal is received

sigtrap is a simple utility that can execute an arbitrary Unix command when a particular POSIX IPC signal is received. After registering the signal handler, the process sleeps until awakened by the signal.

Compile sigtrap using gcc with:

gcc -o sigtrap sigtrap.c -liberty

Usage:

sigtrap <signal> <command> [arguments...]

sigtrap can react to the following signals:

Using SIGUSR1 or SIGUSR2 is recommended, as these signals have no pre-defined standard meaning that must be overridden.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4