1#include <signal.h>
2#include <stdlib.h>
3#include <unistd.h>
4
5int main() {
6 char *env = getenv(name: "__MISSING_ENV_VAR__");
7 if (env == nullptr)
8 raise(SIGUSR1);
9 return 0;
10}
11

source code of libc/test/integration/src/unistd/execv_test_signal_exit.cpp