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

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

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